Update .gitlab-ci.yml

This commit is contained in:
Leonidas Apostolidis
2021-10-21 10:38:59 +01:00
parent f9e86c50c6
commit 6fef2007d4
+2 -2
View File
@@ -66,7 +66,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:
@@ -84,7 +84,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