chore(): No need to rebuild on promotion
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
Elia el Lazkani 2024-01-20 00:20:55 +01:00
parent ee91229c8f
commit 3136395d33

View file

@ -18,6 +18,10 @@ steps:
compress: true compress: true
tags: tags:
- "${DRONE_COMMIT_SHA:0:8}" - "${DRONE_COMMIT_SHA:0:8}"
when:
event:
exclude:
- promote
- name: build-container - name: build-container
image: plugins/docker image: plugins/docker
@ -60,10 +64,6 @@ steps:
from_secret: registry_password from_secret: registry_password
commands: commands:
- quick-scan -i scm.project42.io/elia/tricks -t "${DRONE_COMMIT_SHA:0:8}" -g "${DRONE_COMMIT_SHA:0:8}" - 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: depends_on:
- build - build