Skip to content
Snippets Groups Projects
Unverified Commit c1befa49 authored by Andrew Newdigate's avatar Andrew Newdigate
Browse files

doc: add documentation for GORELEASER_EXTRA_ARGS

parent cee69499
No related branches found
No related tags found
No related merge requests found
Pipeline #15352442 passed
Loading
Loading
@@ -81,3 +81,20 @@ include:
ref: v1.46.0 # renovate:managed
file: goreleaser.yml
```
## Options
Additional command line options for Goreleaser can be set using the `GORELEASER_EXTRA_ARGS` argument. These will be appended to the arguments for `goreleaser release`.
## Out-of-Memory Issues
If you're experiencing OOM kills during the Gorelease build, consider using a bigger runner by updating the `tags` on the `goreleaser` job. It may also help to reduce paralellism in the Goreleaser build tool.
This can be done as follows:
```yaml
goreleaser:
tags: [saas-linux-medium-amd64]
variables:
GORELEASER_EXTRA_ARGS: "-p 1"
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment