event when syntax

This commit is contained in:
Michael Balsillie 2022-08-22 11:29:44 +12:00
parent 83406504c5
commit 2605d0beba

View File

@ -21,7 +21,8 @@ pipeline:
docker-build: docker-build:
when: when:
- event: [ "tag" ] - event: tag
tag: v*
image: docker:latest image: docker:latest
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock