From 3136395d338a3c073e6e02843ac638b4f378c489 Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Sat, 20 Jan 2024 00:20:55 +0100 Subject: [PATCH] chore(): No need to rebuild on promotion --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index aa4f654..38be8b6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,10 @@ steps: compress: true tags: - "${DRONE_COMMIT_SHA:0:8}" + when: + event: + exclude: + - promote - name: build-container image: plugins/docker @@ -60,10 +64,6 @@ steps: from_secret: registry_password commands: - quick-scan -i scm.project42.io/elia/tricks -t "${DRONE_COMMIT_SHA:0:8}" -g "${DRONE_COMMIT_SHA:0:8}" - when: - event: - exclude: - - promote depends_on: - build