chore(): Adds triggers and fixes steps names
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
Elia el Lazkani 2023-07-03 19:01:08 +02:00
parent 61248202d5
commit 4a0ba93df1

View file

@ -1,9 +1,9 @@
---
kind: pipeline
name: test-build-container
name: test
steps:
- name: check-container
- name: test-build-container
image: plugins/docker
settings:
registry: scm.project42.io
@ -19,12 +19,17 @@ steps:
- pre-scan
- "${DRONE_COMMIT_SHA:0:8}"
trigger:
exclude:
event:
- promote
---
kind: pipeline
name: build-container
name: build
steps:
- name: check-container
- name: build-container
image: plugins/docker
settings:
registry: scm.project42.io
@ -39,9 +44,14 @@ steps:
tags:
- production
- "${DRONE_COMMIT_SHA:0:8}"
when:
event:
- promote
target:
- production
depends_on:
test-build-container
- test
trigger:
event: