mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-04-26 13:34:45 +00:00
Publish section example for tag pushes
Adds an example for execution limiting publishes to situations where tags are pushed.
This commit is contained in:
parent
64908ed241
commit
c7712bd3ac
1 changed files with 6 additions and 0 deletions
6
docs/build/publish.md
vendored
6
docs/build/publish.md
vendored
|
@ -30,4 +30,10 @@ publish:
|
||||||
bintray:
|
bintray:
|
||||||
when:
|
when:
|
||||||
branch: feature/*
|
branch: feature/*
|
||||||
|
|
||||||
|
# or only publish when a tag is pushed
|
||||||
|
|
||||||
|
docker:
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue