Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enforce OCI format for inner images when publishing tarballs or to local docker instances #47398

Draft
wants to merge 1 commit into
base: release/8.0.4xx
Choose a base branch
from

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Mar 9, 2025

Today it's possible to publish a multi-arch container manifest that is an OCI format, but contains inner images that are Docker format. This is an error - all formats (Docker or OCI) should be unified.

This PR determines if we are in a scenario in the outer-build where we are publishing an OCI manifest wrapper and forces the inner images to be OCI also.

Open Questions:

  • do we need to change the CreateImageIndex Task in any greater way than this?

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Mar 9, 2025
@baronfel baronfel added Area-Containers Related to dotnet SDK containers functionality and removed Area-Infrastructure labels Mar 9, 2025
@baronfel baronfel requested a review from a team March 9, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Containers Related to dotnet SDK containers functionality untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant