update annotation scheme for OCI bundles (#29)
Signed-off-by: Brian DeHamer <[email protected]>
This commit is contained in:
+2
-1
@@ -78014,7 +78014,8 @@ const createAttestation = async (subject, predicate, sigstoreInstance) => {
|
|||||||
artifact: Buffer.from(JSON.stringify(attestation.bundle)),
|
artifact: Buffer.from(JSON.stringify(attestation.bundle)),
|
||||||
mediaType: bundle_1.BUNDLE_V02_MEDIA_TYPE,
|
mediaType: bundle_1.BUNDLE_V02_MEDIA_TYPE,
|
||||||
annotations: {
|
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'));
|
core.info(highlight('Attestation uploaded to registry'));
|
||||||
|
|||||||
+2
-1
@@ -128,7 +128,8 @@ const createAttestation = async (
|
|||||||
artifact: Buffer.from(JSON.stringify(attestation.bundle)),
|
artifact: Buffer.from(JSON.stringify(attestation.bundle)),
|
||||||
mediaType: BUNDLE_V02_MEDIA_TYPE,
|
mediaType: BUNDLE_V02_MEDIA_TYPE,
|
||||||
annotations: {
|
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'))
|
core.info(highlight('Attestation uploaded to registry'))
|
||||||
|
|||||||
Reference in New Issue
Block a user