Update .gitlab-ci.yml

This commit is contained in:
Leonidas Apostolidis
2021-10-21 10:51:14 +01:00
parent 9cad9e0f0b
commit f1842d6735
+2 -2
View File
@@ -64,7 +64,7 @@ prod_deploy:
- docker tag $DEV_TAG $PROD_IMAGE
- docker push $PROD_IMAGE
rules:
- if: $CI_COMMIT_TAG =~ /^prod\-(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/i
- if: $CI_COMMIT_TAG =~ /^prod-.*/
stable_deploy:
before_script:
@@ -82,7 +82,7 @@ stable_deploy:
- docker tag $DEV_TAG $STABLE_IMAGE
- docker push $STABLE_IMAGE
rules:
- if: $CI_COMMIT_TAG =~ /^stable\-(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/i
- if: $CI_COMMIT_TAG =~ /^stable-.*/
successful-results:
image: eu.gcr.io/vnc-development/docker-vnc-deb-builder:latest