update annotation scheme for OCI bundles (#29)
Signed-off-by: Brian DeHamer <bdehamer@github.com>
This commit is contained in:
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
@@ -78014,7 +78014,8 @@ const createAttestation = async (subject, predicate, sigstoreInstance) => {
|
||||
artifact: Buffer.from(JSON.stringify(attestation.bundle)),
|
||||
mediaType: bundle_1.BUNDLE_V02_MEDIA_TYPE,
|
||||
annotations: {
|
||||
'dev.sigstore.bundle/predicateType': core.getInput('predicate-type')
|
||||
'dev.sigstore.bundle.content': 'dsse-envelope',
|
||||
'dev.sigstore.bundle.predicateType': core.getInput('predicate-type')
|
||||
}
|
||||
});
|
||||
core.info(highlight('Attestation uploaded to registry'));
|
||||
|
||||
@@ -128,7 +128,8 @@ const createAttestation = async (
|
||||
artifact: Buffer.from(JSON.stringify(attestation.bundle)),
|
||||
mediaType: BUNDLE_V02_MEDIA_TYPE,
|
||||
annotations: {
|
||||
'dev.sigstore.bundle/predicateType': core.getInput('predicate-type')
|
||||
'dev.sigstore.bundle.content': 'dsse-envelope',
|
||||
'dev.sigstore.bundle.predicateType': core.getInput('predicate-type')
|
||||
}
|
||||
})
|
||||
core.info(highlight('Attestation uploaded to registry'))
|
||||
|
||||
Reference in New Issue
Block a user