1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00

docs: update CONTRIBUTING

This commit is contained in:
Carlos Alexandro Becker 2024-04-01 14:07:38 -03:00
parent 5102708de5
commit f36318b6fd
No known key found for this signature in database
2 changed files with 15 additions and 0 deletions

View File

@ -40,6 +40,16 @@ A good way of making sure everything is all right is running the test suite:
task test
```
### A note about Docker multi-arch builds
If you want to properly run the Docker tests, or run `goreleaser release
--snapshot` locally, you might need to setup Docker for it.
You can do so by running:
```sh
task docker:setup
```
## Test your change
You can create a branch for your changes and try to build from the source as you go:

View File

@ -17,6 +17,11 @@ tasks:
cmds:
- go mod tidy
docker:setup:
desc: Setup Docker for multi-arch image builds
cmds:
- docker run --privileged --rm tonistiigi/binfmt --install all
build:
desc: Build the binary
sources: