From c20a8634b4a737892c8ac338f2ff032bf0b9d445 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 22 Apr 2021 13:12:49 +0200 Subject: [PATCH] ci: directly run kaniko-publish step on master 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 --- .drone.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 19fbc52..f4b0e24 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,6 @@ steps: context: . when: ref: - - refs/heads/master - "refs/heads/feature-**" - "refs/pull/**" - "refs/tags/**"