You've already forked goreleaser
							
							
				mirror of
				https://github.com/goreleaser/goreleaser.git
				synced 2025-10-30 23:58:09 +02:00 
			
		
		
		
	docs: update CONTRIBUTING
This commit is contained in:
		| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user