Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Describe the change

When pushing a tagged manifest, an extra parameter is needed to change the digest algorithm from the registry default. This is needed if the manifest digest needs to be fixed to a non-canonical value to avoid breaking referrers, signatures, and pinned references.

These parameters are currently experimental and not standardized by OCI yet. This change will be part of a proposal to OCI, and changing the digest algorithm of images should not be done in a production environment at this time.

How to verify it

Push content with a different digest to the latest development release of olareg.

Changelog text

  • Feature: Experimental support for pushing tagged manifests with different digest algorithms

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

These parameters are currently experimental and not standardized by OCI yet.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 1004315 into regclient:main Jul 12, 2024
@sudo-bmitch sudo-bmitch deleted the pr-digest-algo-manifest-put branch July 12, 2024 15:01
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