Skip to content

chore: try fixing alpine docker manifest issue#1789

Merged
nr-developer-toolkit merged 1 commit intomainfrom
fix/alpine-docker-manifest-issue
Feb 16, 2026
Merged

chore: try fixing alpine docker manifest issue#1789
nr-developer-toolkit merged 1 commit intomainfrom
fix/alpine-docker-manifest-issue

Conversation

@pranav-new-relic
Copy link
Member

No description provided.

@pranav-new-relic pranav-new-relic force-pushed the fix/alpine-docker-manifest-issue branch from e8107b5 to 7ede5c8 Compare February 16, 2026 15:50
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)
@pranav-new-relic pranav-new-relic force-pushed the fix/alpine-docker-manifest-issue branch from 7ede5c8 to dd3f7cb Compare February 16, 2026 15:51
@nr-developer-toolkit nr-developer-toolkit marked this pull request as ready for review February 16, 2026 15:53
@nr-developer-toolkit nr-developer-toolkit merged commit 6cffe46 into main Feb 16, 2026
26 of 29 checks passed
@nr-developer-toolkit nr-developer-toolkit deleted the fix/alpine-docker-manifest-issue branch February 16, 2026 15:53
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.

2 participants

Comments