Add latest-tag to image creation

tool_auto-editor
Ruakij 2 years ago
parent ace27f7868
commit d32f36dd29

@ -5,6 +5,7 @@ EXTRA_ARGS=${EXTRA_ARGS:-"$@"}
docker buildx build \ docker buildx build \
--platform $PLATFORM \ --platform $PLATFORM \
--tag $TAG:latest \
--tag "${TAG}:${VERSION}" \ --tag "${TAG}:${VERSION}" \
$EXTRA_ARGS \ $EXTRA_ARGS \
. .

@ -3,6 +3,7 @@ TAG=${TAG:-"${TAG_PREFIX}${NAME}"}
EXTRA_ARGS=${EXTRA_ARGS:-"$@"} EXTRA_ARGS=${EXTRA_ARGS:-"$@"}
docker build \ docker build \
--tag $TAG:latest \
--tag $TAG:$VERSION \ --tag $TAG:$VERSION \
$EXTRA_ARGS \ $EXTRA_ARGS \
. .

Loading…
Cancel
Save