Skip to content

[codex] release multi-arch container images - #1

Merged
fyko merged 1 commit into
mainfrom
codex/multi-arch-release-images
Jun 3, 2026
Merged

fyko merged 1 commit into
mainfrom
codex/multi-arch-release-images

Conversation

@fyko

@fyko fyko commented Jun 3, 2026

Copy link
Copy Markdown
Member

summary

  • update the release workflow to set explicit github token permissions, initialize qemu/buildx, and run the current goreleaser v2 action
  • move the container release config to goreleaser dockers_v2 with linux/amd64 and linux/arm64 platforms under the existing ghcr tags
  • update dockerfile.releaser to copy the per-platform binary that goreleaser provides for multi-platform docker builds

validation

  • ruby -ryaml -e 'argv.each { |path| yaml.load_file(path) }' .goreleaser.yml .github/workflows/release.yml
  • go run github.com/goreleaser/goreleaser/v2@v2.16.0 check
  • goos=linux goarch=amd64 cgo_enabled=0 go build -o /private/tmp/rds_exporter-linux-amd64 .
  • goos=linux goarch=arm64 cgo_enabled=0 go build -o /private/tmp/rds_exporter-linux-arm64 .

notes

go test ./... was attempted locally, but this repo's current tests require aws credentials and instance metadata access. the local run failed in sessions because aws_access_key / aws_secret_key were not set, and in basic after imds credential lookup failed and no scrapers were created.

@fyko
fyko marked this pull request as ready for review June 3, 2026 17:14
@fyko
fyko merged commit 443603a into main Jun 3, 2026
1 of 2 checks passed
@fyko
fyko deleted the codex/multi-arch-release-images branch June 3, 2026 17:14

This branch had an error being deployed

1 failed deployment
CI — 21df4e5d Deployed Jun 3, 2026 by fyko via Test #5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant