ci: directly run kaniko-publish step on master
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
41553cbe1c
commit
c20a8634b4
@ -31,7 +31,6 @@ steps:
|
||||
context: .
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- "refs/heads/feature-**"
|
||||
- "refs/pull/**"
|
||||
- "refs/tags/**"
|
||||
|
Loading…
Reference in New Issue
Block a user