From d32f36dd297d1467182e2d5b73d0d585f99e4053 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Wed, 23 Nov 2022 13:37:43 +0100 Subject: [PATCH] Add latest-tag to image creation --- scripts/utils/build-multiarch.sh | 1 + scripts/utils/build-ownarch.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/utils/build-multiarch.sh b/scripts/utils/build-multiarch.sh index 62520b5..f1ffb5f 100755 --- a/scripts/utils/build-multiarch.sh +++ b/scripts/utils/build-multiarch.sh @@ -5,6 +5,7 @@ EXTRA_ARGS=${EXTRA_ARGS:-"$@"} docker buildx build \ --platform $PLATFORM \ +--tag $TAG:latest \ --tag "${TAG}:${VERSION}" \ $EXTRA_ARGS \ . diff --git a/scripts/utils/build-ownarch.sh b/scripts/utils/build-ownarch.sh index f45d297..23b0923 100755 --- a/scripts/utils/build-ownarch.sh +++ b/scripts/utils/build-ownarch.sh @@ -3,6 +3,7 @@ TAG=${TAG:-"${TAG_PREFIX}${NAME}"} EXTRA_ARGS=${EXTRA_ARGS:-"$@"} docker build \ +--tag $TAG:latest \ --tag $TAG:$VERSION \ $EXTRA_ARGS \ .