Set event to the pipeline
This commit is contained in:
parent
914e3cbbf5
commit
da2c2f38c7
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user