|
44 | 44 | echo "BUILDBOX_IMAGE_VERSION=$(./internal/lib/docker_image_info.sh buildbox_version)" >> $GITHUB_ENV |
45 | 45 | echo "BUILDBOX_IMAGE_NAME=$(./internal/lib/docker_image_info.sh buildbox_name)" >> $GITHUB_ENV |
46 | 46 | env: |
47 | | - platform: linux${{ matrix.arch.name }} |
| 47 | + platform: linux/${{ matrix.arch.name }} |
48 | 48 |
|
49 | 49 | - name: Docker meta |
50 | 50 | id: meta |
|
55 | 55 | tags: | |
56 | 56 | type=ref,event=branch |
57 | 57 | type=ref,event=pr |
| 58 | + type=raw,value=${{ env.BUILDBOX_IMAGE_VERSION }}-${{ matrix.arch.name }} |
58 | 59 | type=edge,enable=true,priority=700,prefix=,suffix=${{ matrix.arch.name }},branch=$repo.default_branch |
59 | 60 |
|
60 | 61 | - name: Login to GHCR |
|
77 | 78 | file: ./docker-images/buildbox/Dockerfile |
78 | 79 | platforms: linux/${{ matrix.arch.name }} |
79 | 80 | labels: ${{ steps.meta.outputs.labels }} |
| 81 | + tags: ${{ steps.meta.outputs.tags }} |
80 | 82 | outputs: "type=image,name=${{ env.GHCR_REPO }},push-by-digest=true,name-canonical=true,push=true" |
81 | 83 |
|
82 | 84 | - name: Export digest |
@@ -150,6 +152,7 @@ jobs: |
150 | 152 | file: ./docker-images/testbox-ubuntu-${{ matrix.distro }}/Dockerfile |
151 | 153 | platforms: linux/${{ matrix.arch.name }} |
152 | 154 | labels: ${{ steps.meta.outputs.labels }} |
| 155 | + tags: ${{ steps.meta.outputs.tags }} |
153 | 156 | outputs: "type=image,name=${{ env.GHCR_REPO }},push-by-digest=true,name-canonical=true,push=true" |
154 | 157 |
|
155 | 158 | - name: Export digest |
@@ -223,6 +226,7 @@ jobs: |
223 | 226 | file: ./docker-images/testbox-debian-${{ matrix.distro }}/Dockerfile |
224 | 227 | platforms: linux/${{ matrix.arch.name }} |
225 | 228 | labels: ${{ steps.meta.outputs.labels }} |
| 229 | + tags: ${{ steps.meta.outputs.tags }} |
226 | 230 | outputs: "type=image,name=${{ env.GHCR_REPO }},push-by-digest=true,name-canonical=true,push=true" |
227 | 231 |
|
228 | 232 | - name: Export digest |
|
0 commit comments