Skip to content

Commit

Permalink
Add Github Actions for publishing binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-french committed May 5, 2019
1 parent e4f5484 commit c51ebff
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 "Publish binaries on release" {
resolves = ["publish"]
on = "push"
}

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

action "build" {
uses = "sosedoff/actions/golang-build@master"
env = {
GO111MODULE = "on"
}
needs = ["release-tag"]
}

action "publish" {
uses = "docker://moonswitch/github-upload-release:master"
secrets = ["GITHUB_TOKEN"]
needs = ["build"]
}

0 comments on commit c51ebff

Please sign in to comment.