1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00

docs: GORELEASER_GITHUB_TOKEN on actions

This commit is contained in:
Carlos Alexandro Becker 2019-03-14 11:06:26 -03:00
parent 7c712120bc
commit 6f2f760875
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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`