5454 images : |
5555 ghcr.io/${{ env.BUILDBOX_IMAGE_NAME }}
5656 tags : |
57- type=ref,event=branch
58- type=ref,event=pr
5957 type=raw,value=${{ env.BUILDBOX_IMAGE_VERSION }}-${{ matrix.arch.name }}
6058 type=edge,enable=true,priority=700,prefix=,suffix=${{ matrix.arch.name }},branch=$repo.default_branch
6159
@@ -121,9 +119,10 @@ jobs:
121119 echo "TESTBOX_IMAGE_VERSION=$(./internal/lib/docker_image_info.sh testbox_version)" >> $GITHUB_ENV
122120 export "TESTBOX_BASE_NAME=$(./internal/lib/docker_image_info.sh testbox_base_name)"
123121 echo "TESTBOX_BASE_NAME=$TESTBOX_BASE_NAME" >> $GITHUB_ENV
124- echo "TESTBOX_IMAGE_NAME=${TESTBOX_BASE_NAME}_ubuntu_${{ matrix. distro } }" >> $GITHUB_ENV
122+ echo "TESTBOX_IMAGE_NAME=${TESTBOX_BASE_NAME}_ubuntu_${distro//\./_ }" >> $GITHUB_ENV
125123 env :
126124 platform : linux/${{ matrix.arch.name }}
125+ distro : ${{ matrix.distro }}
127126
128127 - name : Docker meta
129128 id : meta
@@ -132,8 +131,7 @@ jobs:
132131 images : |
133132 ghcr.io/${{ env.TESTBOX_IMAGE_NAME }}
134133 tags : |
135- type=ref,event=branch
136- type=ref,event=pr
134+ type=raw,value=${{ env.TESTBOX_IMAGE_VERSION }}-${{ matrix.arch.name }}
137135 type=edge,enable=true,priority=700,prefix=,suffix=${{ matrix.arch.name }},branch=$repo.default_branch
138136
139137 - name : Login to GHCR
@@ -209,8 +207,7 @@ jobs:
209207 images : |
210208 ghcr.io/${{ env.TESTBOX_IMAGE_NAME }}
211209 tags : |
212- type=ref,event=branch
213- type=ref,event=pr
210+ type=raw,value=${{ env.TESTBOX_IMAGE_VERSION }}-${{ matrix.arch.name }}
214211 type=edge,enable=true,priority=700,prefix=,suffix=-${{ matrix.arch.name }},branch=$repo.default_branch
215212
216213 - name : Login to GHCR
0 commit comments