mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-31 18:17:23 +01:00
Update main.workflow
This commit is contained in:
19
.github/main.workflow
vendored
19
.github/main.workflow
vendored
@@ -1,19 +1,22 @@
|
||||
workflow "Release" {
|
||||
on = "push"
|
||||
resolves = ["goreleaser"]
|
||||
resolves = [
|
||||
"goreleaser/goreleaser",
|
||||
]
|
||||
}
|
||||
|
||||
action "is-tag" {
|
||||
action "cedrickring/golang-action@1.2.0" {
|
||||
uses = "cedrickring/golang-action@1.2.0"
|
||||
}
|
||||
|
||||
action "actions/bin/filter@master" {
|
||||
uses = "actions/bin/filter@master"
|
||||
needs = ["cedrickring/golang-action@1.2.0"]
|
||||
args = "tag"
|
||||
}
|
||||
|
||||
action "goreleaser" {
|
||||
action "goreleaser/goreleaser" {
|
||||
uses = "docker://goreleaser/goreleaser"
|
||||
secrets = [
|
||||
"GITHUB_TOKEN",
|
||||
]
|
||||
|
||||
needs = ["actions/bin/filter@master"]
|
||||
args = "release"
|
||||
needs = ["is-tag"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user