Skip to content

Migrate GoReleaser config off deprecated dockers/docker_manifests and brews #100

Closed

Description

@pavelanni

Context

The v0.15.2 release run (triggered from PR #99) logged these GoReleaser deprecation warnings:

• dockers and docker_manifests are being phased out and will eventually be replaced by dockers_v2, check https://goreleaser.com/deprecations#dockers for more info
• dockers and docker_manifests are being phased out and will eventually be replaced by dockers_v2, check https://goreleaser.com/deprecations#dockers for more info
• DEPRECATED: brews should not be used anymore, check https://goreleaser.com/deprecations#brews for more info

Neither has a forced-removal version yet (GoReleaser only removes deprecated options on major version bumps), so this isn't urgent, but both need real design work rather than a quick fix:

dockers/docker_manifests → dockers_v2

  • Consolidates the current two-section config (dockers + docker_manifests) into a single docker buildx build step.
  • Requires rewriting Dockerfile.release's COPY instruction to use $TARGETPLATFORM, since GoReleaser stages per-platform artifacts differently.
  • Changes build timing: images are only built during the publish phase (goreleaser publish/continue), not during build or release --skip=publish. Need to check this doesn't break local snapshot testing (goreleaser release --snapshot).
  • Docs: https://goreleaser.com/deprecations/#dockers

brews → homebrew_casks

Suggested approach

Do these as their own PR (not bundled with unrelated work), test with goreleaser release --snapshot locally before tagging a real release, and verify the pavelanni/homebrew-tap cask install path end-to-end before cutting over.

Activity

  1. pavelanni commented on Nov 16, 2026

    @pavelanni
    CollaboratorAuthor

    Also surfaced in review of #132 (merged as 9c27cff): goreleaser check reports the config valid but deprecated. Note docker_manifests is what publishes the -openshell amd64+arm64 manifest, so the dockers_v2 migration must keep that manifest building. Closing #133 as a duplicate of this issue.

  2. pavelanni commented on Nov 18, 2026

    @pavelanni
    CollaboratorAuthor

    Both deprecations are migrated and goreleaser check is clean: dockers/docker_manifests → dockers_v2 in #136 (with --provenance=false), and brews → homebrew_casks in #141 (cross-platform cask, so Linuxbrew still works). The v0.21.0 release published the multi-arch -openshell manifest and the cask.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions