Commit 488d179b authored by David Diederich's avatar David Diederich
Browse files

Add pull to ensure that the SHA tag is present in the current runner before...

Add pull to ensure that the SHA tag is present in the current runner before using it as the basis for tagging the release

If the same runner system was selected, this will generally be true. But, in case multiple runner systems are used in the future and
different runners pick up each job, we make sure the image is available with the pull
parent 83b8d017
Pipeline #11784 passed with stages
in 23 seconds
......@@ -41,6 +41,7 @@ release:
variables:
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker pull $COMMUNITY_SHA_IMAGE_TAG
- docker tag $COMMUNITY_SHA_IMAGE_TAG $COMMUNITY_RELEASE_IMAGE_TAG
- docker tag $COMMUNITY_SHA_IMAGE_TAG $COMMUNITY_LATEST_IMAGE_TAG
- docker push $COMMUNITY_RELEASE_IMAGE_TAG
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment