Skip to content

fix(publish): warn when push falls back from OCI 1.1 to OCI 1.0 - #14146

Open
htoyoda18 wants to merge 2 commits into
docker:mainfrom
htoyoda18:fix/oci-push-oci-fallback-warning
Open

fix(publish): warn when push falls back from OCI 1.1 to OCI 1.0#14146
htoyoda18 wants to merge 2 commits into
docker:mainfrom
htoyoda18:fix/oci-push-oci-fallback-warning

Conversation

@htoyoda18

@htoyoda18 htoyoda18 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

What I did

PushManifest silently retried in OCI 1.0 format whenever a registry rejected the OCI 1.1 manifest, leaving users unaware their artifact wasn't stored in the newer format. This was left as a TODO because internal/oci intentionally avoids importing logrus.

PushManifest now reports which OCI version was actually used instead of just success/failure, and pkg/compose/publish (which already depends on logrus) logs a warning when that differs from what was requested.

Related issue
N/A

(not mandatory) A picture of a cute animal, if possible in relation to what you did
🐈🐈🐈

Signed-off-by: hiroto.toyoda <hiroto.toyoda@dena.com>
@htoyoda18
htoyoda18 requested review from a team as code owners August 27, 2026 17:50
@htoyoda18
htoyoda18 requested review from glours and ndeloof August 27, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant