Skip to content

Conversation

@guamian-delicious
Copy link

…trypoint from container registry

Fixes #15058 Default platform linux/amd64 used when retrieving image entrypoint from container registry

Motivation

to fix an issue as above

Modifications

set default platform as current node platform when retrieving image entrypoint config from registry

Verification

i build the new binary and run it in my own dev environment

Documentation

Summary
This PR fixes a platform compatibility issue where Argo Workflows would fail to retrieve image configurations for non-linux/amd64 architectures when no commandis specified in the workflow template.

Changes

  1. Modified image configuration lookup to explicitly specify the node's platform architecture
  2. Added platform detection using runtime.GOOS and runtime.GOARCH
  3. Ensured compatibility with multi-arch images and single-arch images on matching platforms

Impact
Before this fix:
Workflows would fail with "MANIFEST_UNKNOWN" error when:

  • Using single-architecture images (ARM, etc.)
  • Running on non-AMD64 nodes
  • No commandspecified in template

After this fix:

  • Workflows automatically use the correct platform architecture for image config lookup
  • Supports ARM64, AMD64, and other architectures transparently
  • Maintains backward compatibility

…image entrypoint from container registry

Signed-off-by: guamian-delicious <[email protected]>
@guamian-delicious guamian-delicious changed the title Fix #15058 Default platform linux/amd64 used when retrieving image en… fix: #15058 Default platform linux/amd64 used when retrieving image en… Nov 19, 2025
Signed-off-by: guamian-delicious <[email protected]>
@guamian-delicious guamian-delicious changed the title fix: #15058 Default platform linux/amd64 used when retrieving image en… fix: set current platform as default platform when retrieving image entrypoint. Fixes #15058 Nov 20, 2025
Copy link
Member

@jswxstw jswxstw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"v12" -> "pkgv1" seems better to me.

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.

Default platform linux/amd64 used when retrieving image entrypoint from container registry

2 participants