mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp.git
synced 2024-12-26 20:34:18 +00:00
Build only master and tags
This commit is contained in:
parent
cc838300cf
commit
2d65189d96
@ -17,7 +17,7 @@ Build:
|
||||
tags:
|
||||
- docker
|
||||
|
||||
Push master:
|
||||
Push latest:
|
||||
image: docker:latest
|
||||
only:
|
||||
- master
|
||||
@ -31,10 +31,10 @@ Push master:
|
||||
tags:
|
||||
- docker
|
||||
|
||||
Push others:
|
||||
except:
|
||||
- master
|
||||
Push tag:
|
||||
image: docker:latest
|
||||
only:
|
||||
- tags
|
||||
script:
|
||||
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
|
||||
|
Loading…
Reference in New Issue
Block a user