Commit c92a3bc4 authored by Hema Vishnu Pola [Microsoft]'s avatar Hema Vishnu Pola [Microsoft]
Browse files

added latest tag container push to gitlab repository.

parent ea2131f1
Pipeline #9347 passed with stage
in 6 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