Skip to content
Snippets Groups Projects
Commit b88a9b5d authored by Michael.Menk's avatar Michael.Menk
Browse files

gitlab-ci.yml Push git tag to docker

parent 141c7774
No related branches found
No related tags found
No related merge requests found
Pipeline #212029 failed
......@@ -13,4 +13,5 @@ build:
- docker build --cache-from $CI_REGISTRY_IMAGE:latest
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --tag $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
- docker push $CI_REGISTRY_IMAGE:latest
\ No newline at end of file
- docker push $CI_REGISTRY_IMAGE:latest
- if [ $CI_COMMIT_TAG != '' ]; then docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment