chore(): Excludes rebuilding container on promotion
This commit is contained in:
parent
720c8e29ea
commit
36f79d559a
1 changed files with 8 additions and 0 deletions
|
@ -58,6 +58,10 @@ steps:
|
||||||
- "${DRONE_COMMIT_SHA:0:8}"
|
- "${DRONE_COMMIT_SHA:0:8}"
|
||||||
depends_on:
|
depends_on:
|
||||||
- test-build-container
|
- test-build-container
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- promote
|
||||||
|
|
||||||
- name: trivy-scan
|
- name: trivy-scan
|
||||||
image: scm.project42.io/elia/tricks:latest
|
image: scm.project42.io/elia/tricks:latest
|
||||||
|
@ -70,6 +74,10 @@ steps:
|
||||||
- generate-scan-report -i scm.project42.io/elia/blog -t "${DRONE_COMMIT_SHA:0:8}" -g "${DRONE_COMMIT_SHA:0:8}"
|
- generate-scan-report -i scm.project42.io/elia/blog -t "${DRONE_COMMIT_SHA:0:8}" -g "${DRONE_COMMIT_SHA:0:8}"
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-container
|
- build-container
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- promote
|
||||||
|
|
||||||
- name: promote-container
|
- name: promote-container
|
||||||
image: scm.project42.io/elia/tricks:latest
|
image: scm.project42.io/elia/tricks:latest
|
||||||
|
|
Loading…
Reference in a new issue