Fix GoReleaser build: add containers_image_openpgp tag and reduce platforms

- Add containers_image_openpgp build tag to use pure Go PGP instead of gpgme
- Remove Windows builds (Podman dependencies don't cross-compile well)
- Remove 32-bit and ARM v6/v7 builds for simplicity
- Keep darwin/linux on amd64/arm64

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
christophe-duc 2026-01-07 15:40:44 -04:00
parent 593c174a0a
commit f01d122043

View file

@ -7,29 +7,24 @@ env:
builds:
- id: binary
tags:
- containers_image_openpgp
goos:
# - freebsd
- windows
- darwin
- linux
goarch:
- amd64
- arm
- arm64
- 386
goarm:
- 6
- 7
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=binaryRelease
- id: snap
tags:
- containers_image_openpgp
goos:
- linux
goarch:
- amd64
- arm
- arm64
- 386
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=snap