Commit c29dcfed authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Merge branch 'hepola/azure-cicd-latest-tag' into 'master'

added latest tag container push to gitlab repository.

See merge request !71
parents ea2131f1 81cdc1c2
Pipeline #9428 passed with stages
in 15 seconds
......@@ -128,6 +128,8 @@ azure_containerize:
- echo "Startup Jar is $TARGET"
- docker build --build-arg JAR_FILE=$TARGET -t $CI_REGISTRY_IMAGE/$SHA_IMAGE .
- docker push ${CI_REGISTRY_IMAGE}/$SHA_IMAGE
- docker tag $CI_REGISTRY_IMAGE/$SHA_IMAGE $CI_REGISTRY_IMAGE/$LATEST_IMAGE
- docker push ${CI_REGISTRY_IMAGE}/$LATEST_IMAGE
# Azure Container Registry
- az acr login -n $AZURE_REGISTRY
......
Supports Markdown
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