Publish releases to deb/rpm/apk, GHCR, and Homebrew#23
Merged
Conversation
Extend the GoReleaser pipeline beyond raw archives: - nfpms: build .deb/.rpm/.apk (both arches) with version-less names and attach them to the GitHub release. - dockers: multi-arch static-binary image to ghcr.io/insightsoftmax/bammm (distroless/static), pushed with the built-in GITHUB_TOKEN. - homebrew_casks: push a cask to InsightSoftmax/homebrew-tap (replaces the deprecated `brews`; needs a HOMEBREW_TAP_TOKEN PAT, falling back to GITHUB_TOKEN so releases still succeed without it). Also fix the stale release owner (finos -> InsightSoftmax), migrate the config off GoReleaser's deprecated keys (builds->ids, format->formats), add QEMU/buildx/GHCR-login to the release workflow, add a `goreleaser check` CI job so config errors surface on PRs, and document the new install paths. Validated locally with `goreleaser check` and a `--snapshot` build (archives, packages, and cask all generate cleanly). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016PnTz6Zxqa4jHocK8kCbyx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
"Ship it" — the release part. Extends the GoReleaser pipeline so a tag publishes
to more than raw archives, tuned for BAMMM's HPC-first audience.
Already worked (unchanged): GitHub Release tarballs (linux/darwin/windows ×
amd64/arm64) and
go install. New in this PR:nfpms):.deb/.rpm/.apkfor both arches, withversion-less names, attached to the GitHub release. No hosted apt/yum repo —
users download and
dpkg -i/rpm -i/apk add.dockers): multi-archdistroless/staticimage toghcr.io/insightsoftmax/bammm, pushed with the built-inGITHUB_TOKEN.homebrew_casks): cask pushed toInsightSoftmax/homebrew-tap.Replaces GoReleaser's deprecated
brews.Housekeeping: fixed the stale
release.github.owner(finos→InsightSoftmax),migrated off deprecated GoReleaser keys, added QEMU/buildx/GHCR-login to the
release workflow, added a
goreleaser checkCI job, and documented the newinstall paths in the README.
Action required before the first tagged release
InsightSoftmax/homebrew-tap(empty is fine).HOMEBREW_TAP_TOKEN— a PAT withcontents:writeon thattap repo. (Without it the Homebrew push is skipped but everything else still
releases; the workflow falls back to
GITHUB_TOKEN.)GITHUB_TOKEN. After the first push, mark thebammmpackage public if you want anonymousdocker pull.Testing
goreleaser checkpasses (only softdockersphase-out notices remain).goreleaser release --snapshotbuilds binaries, archives, all deb/rpm/apkpackages, and the cask cleanly.
🤖 Generated with Claude Code