Skip to content

Additional tag pushed to registry during signature #979

Answered by FeynmanZhou
dalarson asked this question in Q&A
Discussion options

You must be logged in to vote

@dalarson
Ah, ACR is an OCI v1.1 compliant registry so you can switch to use referrers API to store the signature. Learn how OCI v1.1 and referrers API benefits ACR: https://techcommunity.microsoft.com/t5/apps-on-azure-blog/announcing-support-of-oci-v1-1-specification-in-azure-container/ba-p/4177906

This feature is still an experimental feature in Notation v1.1.x, you can resign images using referrers API by following these steps:

  1. To enable experimental features, set the NOTATION_EXPERIMENTAL environment variable to 1,
export NOTATION_EXPERIMENTAL=1
  1. Sign an image using referrers API
notation sign --allow-referrers-api <registry>/<repository>@<digest>

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@dalarson
Comment options

@FeynmanZhou
Comment options

Answer selected by FeynmanZhou
@FeynmanZhou
Comment options

@dalarson
Comment options

@FeynmanZhou
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants