Skip to content
Snippets Groups Projects
Commit 55d6261c authored by Gilles Filippini's avatar Gilles Filippini
Browse files

ci: fix regex for variable CI_COMMIT_TAG

parent 21a7265f
No related branches found
No related tags found
No related merge requests found
Pipeline #33116 waiting for manual action
......@@ -117,7 +117,7 @@ build_release:
build_release_tag:
extends: .docker_build
rules:
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^v*/"
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^(v|runtime-)[0-9].*/"
- when: never
variables:
IMAGE_NAME: "duniter/duniter-v2s"
......@@ -143,7 +143,7 @@ test_release:
stage: tests
extends: .docker_build
rules:
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^v*/"
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^(v|runtime-)[0-9].*/"
- when: never
variables:
IMAGE_NAME: "duniter/duniter-v2s-test"
......@@ -188,7 +188,7 @@ deploy_docker_release_tag:
stage: deploy
extends: .docker_deploy_native
rules:
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^v*/"
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^(v|runtime-)[0-9].*/"
- when: never
variables:
IMAGE_NAME: "duniter/duniter-v2s"
......@@ -199,7 +199,7 @@ deploy_docker_release_tag_multiplatform:
needs: ["deploy_docker_release_tag"]
extends: .docker_deploy_multiplatform
rules:
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^v*/"
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^(v|runtime-)[0-9].*/"
- when: never
script:
- !reference [.docker_deploy_multiplatform, script]
......@@ -212,7 +212,7 @@ readme_docker_release_tag:
stage: deploy_readme
needs: ["deploy_docker_release_tag"]
rules:
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^v*/"
- if: "$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /^(v|runtime-)[0-9].*/"
- when: never
image:
name: chko/docker-pushrm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment