@@ -2,10 +2,10 @@ name: CI
22
33on :
44 push :
5- branches : [ master ]
5+ branches : [ testing- master ]
66 tags : [ 'v*' ]
77 pull_request :
8- branches : [ master ]
8+ branches : [ testing- master ]
99
1010permissions :
1111 packages : write
@@ -45,32 +45,30 @@ jobs:
4545 uses : docker/metadata-action@v3
4646 with :
4747 images : |
48- localhost:5000/zephyrproject-rtos/ci
48+ localhost:5000/zephyrproject-rtos/ci-testing
4949
5050 - name : Generate local metadata for Developer image
5151 id : meta_developer
5252 uses : docker/metadata-action@v3
5353 with :
5454 images : |
55- localhost:5000/zephyrproject-rtos/zephyr-build
55+ localhost:5000/zephyrproject-rtos/zephyr-build-testing
5656
5757 - name : Generate push metadata for CI image
5858 if : ${{ github.event_name != 'pull_request' }}
5959 id : meta_ci_push
6060 uses : docker/metadata-action@v3
6161 with :
6262 images : |
63- docker.io/zephyrprojectrtos/ci
64- ghcr.io/zephyrproject-rtos/ci
63+ ghcr.io/zephyrproject-rtos/ci-testing
6564
6665 - name : Generate push metadata for Developer image
6766 if : ${{ github.event_name != 'pull_request' }}
6867 id : meta_developer_push
6968 uses : docker/metadata-action@v3
7069 with :
7170 images : |
72- docker.io/zephyrprojectrtos/zephyr-build
73- ghcr.io/zephyrproject-rtos/zephyr-build
71+ ghcr.io/zephyrproject-rtos/zephyr-build-testing
7472
7573 - name : Set up QEMU
7674 uses : docker/setup-qemu-action@v1
@@ -100,15 +98,7 @@ jobs:
10098 tags : ${{ steps.meta_developer.outputs.tags }}
10199 labels : ${{ steps.meta_developer.outputs.labels }}
102100 build-args : |
103- BASE_IMAGE=localhost:5000/zephyrproject-rtos/ci:${{ steps.meta_ci.outputs.version }}
104-
105- - name : Login to DockerHub
106- if : ${{ github.event_name != 'pull_request' }}
107- uses : docker/login-action@v1
108- with :
109- registry : docker.io
110- username : ${{ secrets.DOCKERHUB_USERNAME }}
111- password : ${{ secrets.DOCKERHUB_TOKEN }}
101+ BASE_IMAGE=localhost:5000/zephyrproject-rtos/ci-testing:${{ steps.meta_ci.outputs.version }}
112102
113103 - name : Login to GitHub Container Registry
114104 if : ${{ github.event_name != 'pull_request' }}
@@ -122,12 +112,12 @@ jobs:
122112 if : ${{ github.event_name != 'pull_request' }}
123113124114 with :
125- src : localhost:5000/zephyrproject-rtos/ci:${{ steps.meta_ci.outputs.version }}
115+ src : localhost:5000/zephyrproject-rtos/ci-testing :${{ steps.meta_ci.outputs.version }}
126116 dst : ${{ steps.meta_ci_push.outputs.tags }}
127117
128118 - name : Push Developer docker image
129119 if : ${{ github.event_name != 'pull_request' }}
130120131121 with :
132- src : localhost:5000/zephyrproject-rtos/zephyr-build:${{ steps.meta_developer.outputs.version }}
122+ src : localhost:5000/zephyrproject-rtos/zephyr-build-testing :${{ steps.meta_developer.outputs.version }}
133123 dst : ${{ steps.meta_developer_push.outputs.tags }}
0 commit comments