EOX GitLab Instance

Commit 18ee6f2d authored by Nikola Jankovic's avatar Nikola Jankovic 💻
Browse files

added tag info to deploy

parent 71c1fcd3
Pipeline #17844 passed with stages
in 5 minutes and 4 seconds
......@@ -33,7 +33,7 @@ deploy:
stage: deploy
script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
- docker build --cache-from $CI_REGISTRY_IMAGE:latest -t $CI_REGISTRY_IMAGE .
- docker build --cache-from $CI_REGISTRY_IMAGE:latest -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
only:
- tags
......
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