Skip to content

Migrate goreleaser off deprecated brews and dockers#540

Open
watsonian wants to merge 1 commit into
masterfrom
watsonian/goreleaser-deprecations
Open

Migrate goreleaser off deprecated brews and dockers#540
watsonian wants to merge 1 commit into
masterfrom
watsonian/goreleaser-deprecations

Conversation

@watsonian

Copy link
Copy Markdown
Member

goreleaser check fails on the v2.16 brews deprecation, and dockers/ docker_manifests are being phased out in favor of dockers_v2.

  • Replace brews with homebrew_casks (binaries + completions, plus a post-install hook to clear the macOS quarantine attribute since the binaries are GPG-signed but not Apple-notarized).
  • Replace dockers with dockers_v2, preserving the plain single-arch linux/amd64 image and its labels (sbom/provenance left off to match the previous output).
  • Update docker/alpine to COPY from $TARGETPLATFORM, as dockers_v2 stages artifacts per-platform.
  • Set up Docker Buildx in the release workflow, which dockers_v2 requires.
  • Bump goreleaser-action from v6 to v7 in the build and release-test workflows.

@watsonian
watsonian requested a review from a team as a code owner July 24, 2026 00:34
Comment thread .github/workflows/build.yml Fixed
Comment thread .github/workflows/release-tests.yaml Fixed
Comment thread .github/workflows/release.yaml Fixed
emily-curry
emily-curry previously approved these changes Jul 24, 2026
Comment thread .goreleaser.yml Outdated
Comment thread .goreleaser.yml
`goreleaser check` fails on the v2.16 `brews` deprecation, and `dockers`/
`docker_manifests` are being phased out in favor of `dockers_v2`.

- Replace `brews` with `homebrew_casks` (binaries + completions, plus a
  post-install hook to clear the macOS quarantine attribute since the
  binaries are GPG-signed but not Apple-notarized).
- Replace `dockers` with `dockers_v2`, preserving the plain single-arch
  linux/amd64 image and its labels (sbom/provenance left off to match the
  previous output).
- Update docker/alpine to COPY from $TARGETPLATFORM, as dockers_v2 stages
  artifacts per-platform.
- Set up Docker Buildx in the release workflow, which dockers_v2 requires.
- Bump goreleaser-action to v7.2.3, pinned by commit SHA, in the build and
  release-test workflows.
@watsonian
watsonian force-pushed the watsonian/goreleaser-deprecations branch from a9f2f25 to b164f07 Compare July 24, 2026 20:52
@watsonian
watsonian requested a review from emily-curry July 24, 2026 21:04
@watsonian

Copy link
Copy Markdown
Member Author

@emily-curry Okay, should be good. Once we merge this, can we trigger a rebuild to generate the cask or do we need to trigger a new release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants