event when syntax

This commit is contained in:
Michael Balsillie 2022-08-22 11:25:37 +12:00
parent 61d997bac9
commit 60d191f5a2

View File

@ -20,11 +20,11 @@ clone:
pipeline: pipeline:
docker-build: docker-build:
when:
- event: [ tag ]
image: docker:latest image: docker:latest
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
when:
- event: tag
environment: environment:
*vars *vars
secrets: secrets: