Commit 6b177c25 authored by Bartosz Ziemba's avatar Bartosz Ziemba

Update .gitlab-ci.yml

parent ad95f831
Pipeline #3039 failed with stages
in 1 minute and 45 seconds
......@@ -24,6 +24,7 @@ build_image:
- 'docker:18.09.7-dind'
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
LATEST_TAG: $CI_REGISTRY_IMAGE:latest
before_script:
- ''
script:
......@@ -33,6 +34,6 @@ build_image:
- rm pass.txt
- docker push clarinpl/anonymizer
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
- docker build -t $IMAGE_TAG -t $LATEST_TAG .
- docker push --all-tags $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