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:
parent
33d6d6b3a8
commit
8096fac74d
@ -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"]
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user