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
Branches
Tags
3 merge requests!90Develop,!68Resolve "Fix tagged deployment",!53V.0.1.0 Codename Threadbare
Pipeline #53000 passed
...@@ -35,12 +35,12 @@ deploy:develop: ...@@ -35,12 +35,12 @@ deploy:develop:
<<: *deploy <<: *deploy
deploy:tagged: deploy:tagged:
variables:
TAG: $CI_REGISTRY_IMAGE:CI_COMMIT_TAG
HOOK: $PORTAINER_HOOK_LATEST
rules: rules:
- if: $CI_COMMIT_TAG - 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: deploy:latest:
variables: variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment