Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update docs to mention gitlab protected vars #3528

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions www/docs/ci/gitlab.md
Expand Up @@ -17,6 +17,13 @@ protected branches and tags.
If you use a project access token, make sure to set `use_package_registry`
to `true` as well, otherwise it might not work.

!!! warning
If you are using a [protected variable](https://docs.gitlab.com/ee/ci/variables/#protected-cicd-variables)
to store any of the values needed by goreleaser, ensure that you are protecting the tags as CI jobs in
Gitlab only may access protected variables if the job is run for protected refs
([branches](https://docs.gitlab.com/ee/user/project/protected_branches.html),
[tags](https://docs.gitlab.com/ee/user/project/protected_tags.html)).

See [Quick Start](https://goreleaser.com/quick-start/) for more information on
GoReleaser's environment variables.

Expand Down
7 changes: 7 additions & 0 deletions www/docs/scm/gitlab.md
Expand Up @@ -20,6 +20,13 @@ env_files:
If you use a project access token, make sure to set `use_package_registry`
to `true` as well, otherwise it might not work.

!!! warning
If you are using a [protected variable](https://docs.gitlab.com/ee/ci/variables/#protected-cicd-variables)
to store any of the values needed by goreleaser, ensure that you are protecting the tags as CI jobs in
Gitlab only may access protected variables if the job is run for protected refs
([branches](https://docs.gitlab.com/ee/user/project/protected_branches.html),
[tags](https://docs.gitlab.com/ee/user/project/protected_tags.html)).

## GitLab Enterprise or private hosted

You can use GoReleaser with GitLab Enterprise by providing its URLs in the
Expand Down