Skip to content

Commit

Permalink
Added github release action
Browse files Browse the repository at this point in the history
  • Loading branch information
drewwyatt authored Apr 21, 2019
1 parent 693ea07 commit 881140e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
workflow "Release" {
on = "push"
resolves = ["goreleaser"]
}

action "is-tag" {
uses = "actions/bin/filter@master"
args = "tag"
}

action "goreleaser" {
uses = "docker://goreleaser/goreleaser"
secrets = [
"GITHUB_TOKEN",

# either GITHUB_TOKEN or GORELEASER_GITHUB_TOKEN is required
"DOCKER_USERNAME",

"DOCKER_PASSWORD",
]
args = "release"
needs = ["is-tag"]
}

0 comments on commit 881140e

Please sign in to comment.