Summary
Add a Homebrew formula so users can install via brew tap + brew install.
Approach
The chainguard-dev/homebrew-tap repo already has formulas for apko, dfc, melange, and chainctl. dfc uses GoReleaser to auto-generate its formula on release.
Proposed steps:
- Adopt GoReleaser — replace the shell-based build matrix in
release.yaml with a .goreleaser.yaml config. This matches the dfc pattern and auto-generates + pushes the Homebrew formula on each tagged release.
- Switch release artifacts to
.tar.gz archives — aligns with Homebrew conventions and the existing tap formulas.
- Add formula to
chainguard-dev/homebrew-tap — or a chainguard-sandbox tap if the repo stays here.
Alternatives
- Hand-write the formula and add a workflow step to update it on release (avoids GoReleaser dependency, more to maintain manually).
- Submit to homebrew-core (project likely doesn't meet notability requirements yet).
Summary
Add a Homebrew formula so users can install via
brew tap+brew install.Approach
The
chainguard-dev/homebrew-taprepo already has formulas forapko,dfc,melange, andchainctl.dfcuses GoReleaser to auto-generate its formula on release.Proposed steps:
release.yamlwith a.goreleaser.yamlconfig. This matches thedfcpattern and auto-generates + pushes the Homebrew formula on each tagged release..tar.gzarchives — aligns with Homebrew conventions and the existing tap formulas.chainguard-dev/homebrew-tap— or achainguard-sandboxtap if the repo stays here.Alternatives