fix: Try to separate tag and push tasks
This commit is contained in:
parent
ef0e8d54d3
commit
39ebe75e18
1 changed files with 3 additions and 2 deletions
|
@ -45,8 +45,9 @@ deploy_to_registry:
|
|||
stage: push_image
|
||||
image: "docker:19.03.12"
|
||||
services:
|
||||
- name: docker:19.03.12-dind
|
||||
only: tags
|
||||
- name: docker:19.03.12-dind
|
||||
only:
|
||||
- tags
|
||||
script:
|
||||
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
||||
|
|
Loading…
Reference in a new issue