Skip to content

fix: set org.opencontainers.image.version on the per-platform images - #78

Merged
Ilyes512 merged 2 commits into
mainfrom
fix/platform-image-version
Nov 8, 2026
Merged

Ilyes512 merged 2 commits into
mainfrom
fix/platform-image-version

Conversation

@Ilyes512

@Ilyes512 Ilyes512 commented Nov 7, 2026

Copy link
Copy Markdown
Member

Summary

  • build-image now uses the same tag rules as create-manifest, so platform manifests and config labels get the version (1.19.0, pr-N, branch name) instead of ""
  • New version input on build-image and build.yml; empty labels/annotations are dropped before the build
  • build-go-cli / merge-go-cli both resolve the version as the tag without v, so build and index agree (variant index now reports 1.2.3 instead of 1.2.3-alpine)
  • Docs updated; callers using raw-tags/flavor on merge should pass the same version to the build

Decisions and skipped steps

  • Chose a version input over adding raw-tags/flavor to the build
  • Not yet verified with a real tag/PR/dependabot/load: true consumer build; needs a release and consumer bumps afterwards

…ages

The build derived no tags outside workflow_dispatch, so metadata-action wrote an empty version into the config labels and manifest annotations. Use the same tag rules as create-manifest, add a version input (also on build.yml) and drop empty labels/annotations.
Both shims now resolve the version as the tag without its leading v, so the index and platform images agree, including for variants.
@Ilyes512
Ilyes512 merged commit 1f1a04c into main Nov 8, 2026
1 check passed
@Ilyes512
Ilyes512 deleted the fix/platform-image-version branch November 8, 2026 22:31
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