Run docker-build in CI when manually requested only
The mentioned job is run very often, because of issues in GitLab: https://gitlab.com/gitlab-org/gitlab/-/issues/27318 https://gitlab.com/gitlab-org/gitlab-foss/-/issues/59354 Given how rarely a rebuild is actually needed, I consider this to be an acceptable compromise.
This commit is contained in:
parent
d6c188e882
commit
f4bfb14430
@ -79,10 +79,7 @@ docker-build:
|
||||
DOCKER_HOST: "tcp://docker:2375/"
|
||||
DOCKER_DRIVER: overlay2
|
||||
GIT_SUBMODULE_STRATEGY: none
|
||||
only:
|
||||
changes:
|
||||
- docker-compose.yml
|
||||
- linting/**/*
|
||||
when: manual
|
||||
before_script:
|
||||
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
|
||||
script:
|
||||
|
Loading…
Reference in New Issue
Block a user