Skip to content

Fix Docker image build in goreleaser#51

Merged
laenzlinger merged 1 commit into
mainfrom
fix-goreleaser-docker-v2
Apr 26, 2026
Merged

Fix Docker image build in goreleaser#51
laenzlinger merged 1 commit into
mainfrom
fix-goreleaser-docker-v2

Conversation

@laenzlinger
Copy link
Copy Markdown
Owner

Revert from dockers_v2 to dockers for Docker image builds.

dockers_v2 uses docker buildx which doesn't work with the simple binary-copy Dockerfile pattern. The classic dockers approach correctly copies the built binary into the Docker context.

dockers is deprecated but still fully supported. When dockers_v2 matures, we can migrate by switching to a multi-stage Dockerfile.

dockers_v2 uses buildx which doesn't support the simple binary
copy pattern used in the Dockerfile. The classic dockers approach
works correctly for this use case.
@laenzlinger laenzlinger merged commit c1ad6aa into main Apr 26, 2026
1 check passed
@laenzlinger laenzlinger deleted the fix-goreleaser-docker-v2 branch April 26, 2026 18:26
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.

1 participant