Skip to content
Snippets Groups Projects
Commit d476545c authored by c-tim's avatar c-tim Committed by Tim Neumann
Browse files

Prepare for regular docker rebuild and republish

To keep the system and libaries inside the docker container up-to-date
each release of the container needs to be rebuild on a regular basis.
Therefore the pipeline on the tagged commits needs to be rerun regularly.
To avoid also republishing the other artifacts
a variable is introduced to suppress the execution of those jobs.
parent b01eec25
No related branches found
No related tags found
No related merge requests found
...@@ -213,7 +213,7 @@ test:package:apt:bullseye: ...@@ -213,7 +213,7 @@ test:package:apt:bullseye:
.publish: .publish:
stage: deploy stage: deploy
rules: rules:
- if: '$CI_COMMIT_TAG =~ /v[0-9]+[.][0-9]+[.][0-9]+.*/' - if: '$CI_COMMIT_TAG =~ /v[0-9]+[.][0-9]+[.][0-9]+.*/ && $REPUBLISH_DOCKER != "true"'
publish:pip: publish:pip:
extends: .publish extends: .publish
...@@ -239,6 +239,8 @@ publish:apt: ...@@ -239,6 +239,8 @@ publish:apt:
publish:docker: publish:docker:
extends: .publish extends: .publish
rules:
- if: '$CI_COMMIT_TAG =~ /v[0-9]+[.][0-9]+[.][0-9]+.*/'
image: image:
name: gcr.io/go-containerregistry/crane:debug name: gcr.io/go-containerregistry/crane:debug
entrypoint: [""] entrypoint: [""]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment