UNCLASSIFIED

Commit 57c74cfc authored by David Freeman's avatar David Freeman
Browse files

Merge branch '87-harbor-tag-latest' into 'development'

Resolve "Provide latest tag in Harbor stage"

Closes #87

See merge request !161
parents 5a01b806 d334df33
Pipeline #55738 passed with stages
in 1 minute and 10 seconds
......@@ -11,3 +11,7 @@ echo "${DOCKER_AUTH_CONFIG_PROD}" | base64 -d >>prod_auth.json
skopeo copy --src-authfile staging_auth.json --dest-authfile prod_auth.json \
"docker://${STAGING_REGISTRY_URL}/${IM_NAME}:${IMG_VERSION}-${CI_PIPELINE_ID}" \
"docker://${REGISTRY_URL}/${SPECIAL_IMAGE_PATH}:${IMG_VERSION}"
# Copy from staging to prod with latest tag
skopeo copy --src-authfile staging_auth.json --dest-authfile prod_auth.json \
"docker://${STAGING_REGISTRY_URL}/${IM_NAME}:${IMG_VERSION}-${CI_PIPELINE_ID}" \
"docker://${REGISTRY_URL}/${SPECIAL_IMAGE_PATH}:latest"
......@@ -11,3 +11,7 @@ echo "${DOCKER_AUTH_CONFIG_PROD}" | base64 -d >prod_auth.json
skopeo copy --src-authfile staging_auth.json --dest-authfile prod_auth.json \
"docker://${STAGING_REGISTRY_URL}/${IM_NAME}:${IMG_VERSION}-${CI_PIPELINE_ID}" \
"docker://${REGISTRY_URL}/${IM_NAME}:${IMG_VERSION}"
# Copy from staging to prod with latest tag
skopeo copy --src-authfile staging_auth.json --dest-authfile prod_auth.json \
"docker://${STAGING_REGISTRY_URL}/${IM_NAME}:${IMG_VERSION}-${CI_PIPELINE_ID}" \
"docker://${REGISTRY_URL}/${IM_NAME}:latest"
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