scope when jobs run
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
dc9c4c0ca7
commit
92cea97430
@ -12,8 +12,9 @@ steps:
|
||||
- apk add curl
|
||||
- docker build .
|
||||
when:
|
||||
branch:
|
||||
exclude: ["master", "main"]
|
||||
- event: push
|
||||
branch:
|
||||
exclude: ["main"]
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
@ -28,7 +29,8 @@ steps:
|
||||
- 'curl http://100.113.98.36:4000/api/update -H "Authorization: Bearer $COMPOSE_TOKEN"'
|
||||
secrets: [docker_username, docker_password, compose_token]
|
||||
when:
|
||||
branch:
|
||||
include: ["master", "main"]
|
||||
- event: push
|
||||
branch:
|
||||
include: ["main"]
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
Loading…
Reference in New Issue
Block a user