Set event to the pipeline

This commit is contained in:
dvirlabs 2025-06-13 18:24:34 +03:00
parent 914e3cbbf5
commit da2c2f38c7

View File

@ -1,6 +1,7 @@
steps: steps:
build-frontend: build-frontend:
when: when:
event: [ push, pull_request, tag ]
path: path:
include: [ frontend/** ] include: [ frontend/** ]
image: gcr.io/kaniko-project/executor:latest image: gcr.io/kaniko-project/executor:latest
@ -18,6 +19,7 @@ steps:
build-backend: build-backend:
when: when:
event: [ push, pull_request, tag ]
path: path:
include: [ backend/** ] include: [ backend/** ]
image: gcr.io/kaniko-project/executor:latest image: gcr.io/kaniko-project/executor:latest