diff --git a/.woodpecker.yml b/.woodpecker.yml index 43805f3..de57c49 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,6 +6,9 @@ matrix: - rules - meta_app_deployment +label: + app: ${APP} + env: NAMESPACE: "homea2" @@ -23,8 +26,11 @@ steps: from_secret: container_registry_password dockerfile: apps/${APP}/Dockerfile when: - matrix: - APP: [ "ui", "api", "abstraction", "rules" ] + app: + - ui + - api + - abstraction + - rules event: [push, tag] ref: exclude: @@ -38,8 +44,8 @@ steps: commands: - kubectl create namespace ${NAMESPACE} || echo "Namespace ${NAMESPACE} already exists" when: - matrix: - APP: [ "meta_app_deployment" ] + app: + - meta_app_deployment event: [tag] ref: exclude: @@ -60,7 +66,7 @@ steps: --namespace=$NAMESPACE --dry-run=client -o yaml | kubectl apply -f - when: - matrix: - APP: [ "meta_app_deployment" ] + app: + - meta_app_deployment event: [tag]