Skip to content

Commit e8107b5

Browse files
fix: pin Alpine to 3.21.3 to resolve Docker manifest list issue
The release workflow failed with a Docker manifest error when trying to create multi-platform manifests. The error message indicated that the individual platform-specific images (e.g., newrelic/cli:v0.106.23-amd64) were already manifest lists, preventing goreleaser from combining them into the final multi-arch manifest. Root cause: - Alpine 3.21 (floating tag) introduced changes in manifest handling - goreleaser v1.15.2 + Docker buildx interaction with multi-platform base images can result in platform-specific builds retaining manifest list metadata instead of being pure single-platform images Fix: - Pin Alpine to specific patch version 3.21.3 - This ensures consistent manifest structure and resolves the buildx manifest list propagation issue Error from failed release: ⨯ release failed after 24s error=docker manifests: failed to publish artifacts: failed to create newrelic/cli:v0.106.23: exit status 1: docker.io/newrelic/cli:v0.106.23-amd64@sha256:... is a manifest list Related: PR #1786 (Alpine upgrade from 3.20.3 to 3.21) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent ed0cf2e commit e8107b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/package/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.21
1+
FROM alpine:3.21.3
22

33
# Add the binary
44
COPY newrelic /bin/newrelic

0 commit comments

Comments
 (0)