Skip to content

fix: added OCI Image Index mediaType - #2352

Merged
Racer159 merged 2 commits into
zarf-dev:mainfrom
mdaizcorbe:index-media-type
Mar 4, 2024
Merged

Racer159 merged 2 commits into
zarf-dev:mainfrom
mdaizcorbe:index-media-type

Conversation

@mdaizcorbe

Copy link
Copy Markdown
Contributor

Description

Added the OCI Image Index's mediaType for completeness sake per the OCI spec and to work around a known Sonatype Nexus Repository bug.

Related Issue

Fixes #2351

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@netlify

netlify Bot commented Mar 4, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for zarf-docs ready!

Name Link
🔨 Latest commit 13825c7
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/65e60433d82c5b0008f5c50e
😎 Deploy Preview https://deploy-preview-2352--zarf-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Noxsios

Noxsios commented Mar 4, 2024

Copy link
Copy Markdown
Contributor

@mdaizcorbe Thanks for the contribution!

@AustinAbro321 also noticed this in his current OCI library refactor work: #2235.

If you have the time, are you able to verify this fixes Nexus?

@Noxsios Noxsios changed the title Added OCI Image Index mediaType fix: added OCI Image Index mediaType Mar 4, 2024

@Racer159 Racer159 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@Racer159
Racer159 merged commit ac703d5 into zarf-dev:main Mar 4, 2024
@mdaizcorbe

Copy link
Copy Markdown
Contributor Author

@mdaizcorbe Thanks for the contribution!

@AustinAbro321 also noticed this in his current OCI library refactor work: #2235.

If you have the time, are you able to verify this fixes Nexus?

Yes, I reproduced the issue on a Nexus Repo container instance running locally using the current release of Zarf CLI. Then rebuilt the Zarf CLI with the one line change and all OCI artifacts persisted after several manual runs of the Nexus Repo cleanup task.

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.

OCI Image Index for Zarf packages doesn't include the mediaType attribute

4 participants