Include non-master branches in docker image tagging

This commit is contained in:
Tulir Asokan
2019-07-26 22:13:08 +03:00
parent 5fc2907392
commit 9a5506d901
+2 -2
View File
@@ -30,8 +30,8 @@ push tag:
stage: push
variables:
GIT_STRATEGY: none
only:
- tags
except:
- master
script:
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME