Skip to content
Snippets Groups Projects
Commit 4afca911 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

tagged release independent of build stage

parent 460813cd
No related branches found
No related tags found
3 merge requests!90Develop,!68Resolve "Fix tagged deployment",!53V.0.1.0 Codename Threadbare
Pipeline #53000 passed
This commit is part of merge request !53. Comments created here will be created in the context of that merge request.
......@@ -35,12 +35,12 @@ deploy:develop:
<<: *deploy
deploy:tagged:
variables:
TAG: $CI_REGISTRY_IMAGE:CI_COMMIT_TAG
HOOK: $PORTAINER_HOOK_LATEST
rules:
- if: $CI_COMMIT_TAG
<<: *deploy
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker tag $CI_REGISTRY_IMAGE:latest $CI_COMMIT_TAG
- docker push $CI_COMMIT_TAG
deploy:latest:
variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment