Skip to content

Commit

Permalink
use latest tags as amended tags for the windows multi-arch latest man…
Browse files Browse the repository at this point in the history
…ifest (#4324)
  • Loading branch information
atoulme committed Feb 23, 2024
1 parent 82ad6a7 commit 119d697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ build-push-windows-multiarch-image:
if ($env:CI_COMMIT_BRANCH -eq "main" -or $env:CI_COMMIT_TAG -match '^v\d+\.\d+\.\d+$') {
# only push latest tag for main and stable releases.
echo "Tagging and pushing ${IMAGE_NAME}:latest"
docker manifest create ${IMAGE_NAME}:latest --amend ${IMAGE_NAME}:${IMAGE_TAG}-2019 --amend ${IMAGE_NAME}:${IMAGE_TAG}-2022
docker manifest create ${IMAGE_NAME}:latest --amend ${IMAGE_NAME}:latest-2019 --amend ${IMAGE_NAME}:latest-2022
docker manifest push ${IMAGE_NAME}:latest
}
docker pull ${IMAGE_NAME}:${IMAGE_TAG}
Expand Down

0 comments on commit 119d697

Please sign in to comment.