Skip to content

Commit e52fd2d

Browse files
committed
Support v1.xx-n and v1.xx.y-n.m short tag
In the previous versions, v1.xx-n and v1.xx.y-n.m short tag was reserved for alpine image. Since v1.19.0, we switch them to debian based images. Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent cb7d8f5 commit e52fd2d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/docker-build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,18 @@ jobs:
187187
${{ env.REPOSITORY }}:${AMD64TAG} \
188188
${{ env.REPOSITORY }}:${ARM64TAG} \
189189
${{ env.REPOSITORY }}:${ARMHFTAG}
190+
# v1.xx.y-n.m
191+
VERSION_WITH_SUFFIX=${MULTIARCH_SHORT_ALIAS/debian-/}
192+
docker buildx imagetools create -t ${{ env.REPOSITORY }}:${VERSION_WITH_SUFFIX} \
193+
${{ env.REPOSITORY }}:${AMD64TAG} \
194+
${{ env.REPOSITORY }}:${ARM64TAG} \
195+
${{ env.REPOSITORY }}:${ARMHFTAG}
196+
# v1.xx-n
197+
VERSION_WITH_SUFFIX=${MULTIARCH_AMD64_SHORT_TAG/debian-/}
198+
docker buildx imagetools create -t ${{ env.REPOSITORY }}:${VERSION_WITH_SUFFIX} \
199+
${{ env.REPOSITORY }}:${AMD64TAG} \
200+
${{ env.REPOSITORY }}:${ARM64TAG} \
201+
${{ env.REPOSITORY }}:${ARMHFTAG}
190202
# latest
191203
docker buildx imagetools create -t ${{ env.REPOSITORY }}:latest \
192204
${{ env.REPOSITORY }}:${AMD64TAG} \

0 commit comments

Comments
 (0)