Skip to content
Permalink
Browse files

docs: GORELEASER_GITHUB_TOKEN on actions

  • Loading branch information...
caarlos0 committed Mar 14, 2019
1 parent 7c71212 commit 6f2f760875687825dc063140a28ab08dfb5e6465
Showing with 7 additions and 1 deletion.
  1. +7 −1 www/content/actions.md
@@ -22,8 +22,9 @@ action "is-tag" {
action "goreleaser" {
uses = "docker://goreleaser/goreleaser"
secrets = [
"GITHUB_TOKEN",
"GORELEASER_GITHUB_TOKEN",
# at least GORELEASER_GITHUB_TOKEN is required, you may need more though
# either GITHUB_TOKEN or GORELEASER_GITHUB_TOKEN is required
"DOCKER_USERNAME",
"DOCKER_PASSWORD",
]
@@ -35,6 +36,11 @@ action "goreleaser" {
This should support *almost* everything already supported by GoReleaser's
[Docker image][docker]. Check the [install](/install) section for more details.

If you need to push the homebrew tap to another repository, you'll need a
custom github token, for that, add a `GORELEASER_GITHUB_TOKEN` secret and
remove the default `GITHUB_TOKEN`. The default, auto-generated token only
has access to current the repo.

## What doesn't work

Projects that depend on `$GOPATH`. GitHub Actions override the `WORKDIR`

0 comments on commit 6f2f760

Please sign in to comment.
You can’t perform that action at this time.