Skip to content

Commit bcc4296

Browse files
committed
fix generating latest tag
1 parent ec6aaaf commit bcc4296

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-create-multiarch-codex.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ docker manifest create \
1818
${VERSION_TAG} \
1919
${AMEND_TAGS[@]}
2020

21-
# shellcheck disable=SC2068
2221
docker manifest push $VERSION_TAG
2322

2423
if [[ $PKG_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]$ ]]; then
2524
# If the version is just numbers push it as latest
2625
LATEST_TAG="$REPO:latest"
2726
echo "Creating $LATEST_TAG."
27+
# shellcheck disable=2068
2828
docker manifest create \
2929
$LATEST_TAG \
30-
--amend $VERSION_TAG
30+
${AMEND_TAGS[@]}
3131

3232
docker manifest push $LATEST_TAG
3333
fi

0 commit comments

Comments
 (0)