Don't run release twice on master

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2022-01-17 09:13:01 +01:00
parent dcab374962
commit 6e511f42a6
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -23,6 +23,8 @@ release:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build . -t $CONTAINER_BRANCH_IMAGE - docker build . -t $CONTAINER_BRANCH_IMAGE
- docker push $CONTAINER_BRANCH_IMAGE - docker push $CONTAINER_BRANCH_IMAGE
except:
- master
release-master: release-master:
stage: release stage: release