ci: directly run kaniko-publish step on master
All checks were successful
continuous-integration/drone/push Build is passing

There's no need to run both kaniko-build and kaniko-publish step when on
master, instead, after hadolint, go directly to kaniko-publish.
This way, kaniko-build is only run for PRs, tags or feature branch builds
This commit is contained in:
surtur 2021-04-22 13:12:49 +02:00
parent 41553cbe1c
commit c20a8634b4
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -31,7 +31,6 @@ steps:
context: .
when:
ref:
- refs/heads/master
- "refs/heads/feature-**"
- "refs/pull/**"
- "refs/tags/**"