1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

docs: actions is-tag filter

This commit is contained in:
Carlos Alexandro Becker 2019-01-25 14:11:08 -02:00
parent 33d6d6b3a8
commit 8096fac74d
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -14,10 +14,21 @@ workflow "Release" {
resolves = ["goreleaser"]
}
action "is-tag" {
uses = "actions/bin/filter@master"
args = "tag"
}
action "goreleaser" {
uses = "docker://goreleaser/goreleaser"
secrets = ["GITHUB_TOKEN"]
secrets = [
"GITHUB_TOKEN",
# at least GITHUB_TOKEN is required, you may need more though
"DOCKER_USERNAME",
"DOCKER_PASSWORD",
]
args = "release"
needs = ["is-tag"]
}
```