diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 000000000..7f80c0b95 --- /dev/null +++ b/.github/main.workflow @@ -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"] +}