mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
docs: goreleaser-xx (#2782)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
d6f136de3c
commit
caaa1b3947
17
www/docs/cookbooks/goreleaser-xx.md
Normal file
17
www/docs/cookbooks/goreleaser-xx.md
Normal file
@ -0,0 +1,17 @@
|
||||
# GoReleaser XX
|
||||
|
||||
[`goreleaser-xx`](https://github.com/crazy-max/goreleaser-xx#readme) is a small
|
||||
CLI wrapper for GoReleaser and available as a [lightweight and multi-platform scratch Docker image](https://hub.docker.com/r/crazymax/goreleaser-xx/tags?page=1&ordering=last_updated)
|
||||
to ease the integration and cross compilation in a Dockerfile for your Go
|
||||
projects using [Buildx](https://github.com/docker/buildx) Docker component that
|
||||
enables many powerful build features with [Moby BuildKit](https://github.com/moby/buildkit)
|
||||
builder engine.
|
||||
|
||||
* Handle `--platform` in your Dockerfile for multi-platform support
|
||||
* Build into any architecture
|
||||
* Handle C and C++ compilers for [CGO dependencies](https://github.com/crazy-max/goreleaser-xx#cgo)
|
||||
* Translation of [platform ARGs in the global scope](https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope) into Go compiler's target
|
||||
* Auto generation of `.goreleaser.yml` config based on target architecture
|
||||
|
||||
Many examples are provided in the [`demo` folder](https://github.com/crazy-max/goreleaser-xx/tree/master/demo)
|
||||
of the repository.
|
@ -149,6 +149,7 @@ nav:
|
||||
- cookbooks/set-a-custom-git-tag.md
|
||||
- cookbooks/using-main.version.md
|
||||
- cookbooks/override-image-name.md
|
||||
- cookbooks/goreleaser-xx.md
|
||||
- Community:
|
||||
- sponsors.md
|
||||
- users.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user