event when syntax
This commit is contained in:
parent
61d997bac9
commit
60d191f5a2
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user