Unverified Commit cc4474a0 authored by tr@netlab.li's avatar tr@netlab.li Committed by tr
Browse files

Untag image, don't remove container

parent de5a6ac6
Pipeline #4260 passed with stages
in 1 minute and 9 seconds
......@@ -36,7 +36,7 @@ deploy latest:
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
- docker pull "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
- docker tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME" "$CI_REGISTRY_IMAGE:latest"
- docker rm "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
- docker rmi "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
- docker push "$CI_REGISTRY_IMAGE:latest"
# vim: set ts=2 sw=2 :
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