Skip to content

ci: publish multi-arch images to ghcr.io - #56

Open
khvn26 wants to merge 1 commit into
goreleaser-binariesfrom
docker-ghcr
Open

ci: publish multi-arch images to ghcr.io#56
khvn26 wants to merge 1 commit into
goreleaser-binariesfrom
docker-ghcr

Conversation

@khvn26

@khvn26 khvn26 commented Jul 29, 2026

Copy link
Copy Markdown
Member

Closes #45.

Verified locally

  • goreleaser release --snapshot --clean --skip=publish built both per-arch images.
  • Ran the arm64 image: flagsmith version v1.1.0, cert bundle present at /etc/ssl/certs/ca-certificates.crt, and a request reached edge.api.flagsmith.com over TLS — so the trust store works.

Important

  • After the first publish the ghcr package needs to be made public by hand.
  • No :main tag yet: dockers_v2 only runs on a tag.

goreleaser's dockers_v2 assembles the manifest from the binaries it already
built, so the image is a COPY of a static binary and the repo keeps one
version-stamping path.

The final stage runs nothing: a RUN would need QEMU to execute a non-native
arch under buildx, so the cert bundle is copied out of a BUILDPLATFORM stage
instead. Alpine over distroless keeps a shell, which the image needs to serve
as a CI job image.

Beta releases take :latest — nothing stabler is published yet.

beep boop
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 05e43b3e-761e-448d-aa65-0c88a24b42e4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@khvn26
khvn26 marked this pull request as ready for review July 29, 2026 10:50
@khvn26
khvn26 requested review from a team and emyller and removed request for a team July 29, 2026 12:28
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.

Add release binaries, Golang CI, Docker images

2 participants