Skip to content

Commit

Permalink
[Madoshakalaka#75] use rules to limit Docker image updates
Browse files Browse the repository at this point in the history
Signed-off-by: Bryant Finney <finneybp@gmail.com>
  • Loading branch information
bryant-finney committed Nov 7, 2021
1 parent 5b6bed2 commit e15d454
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitlab/ci/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ update python images:
- PY_MAJOR: 3
PY_MINOR: [6, 7, 8]

rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"

script:
- docker pull $DOCKER_IMAGE
- docker tag $DOCKER_IMAGE $CI_REGISTRY_IMAGE/$DOCKER_IMAGE
Expand Down

0 comments on commit e15d454

Please sign in to comment.