Read about our upcoming Code of Conduct on this issue

Commit add43c2c authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Automatically build except for direct pushes

it's a bit annoying that we have to use `allow_failure` to express
that the docker job does not necessarily build.
parent 29a1dfbd8caa
Pipeline #11669 passed with stages
......@@ -5,7 +5,10 @@ stages:
docker:
stage: build
rules:
- when: manual
- if: '$CI_PIPELINE_SOURCE == "push"'
when: manual
allow_failure: true
- when: on_success # default rule
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment