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:
parent
5102708de5
commit
f36318b6fd
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user