1
0
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:
Amir Raminfar
2019-03-17 10:18:30 -07:00
committed by GitHub
parent 2f472ecd36
commit 86fd8cb82e

19
.github/main.workflow vendored
View File

@@ -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"]
}