diff --git a/task/oci-copy-oci-ta/0.1/oci-copy-oci-ta.yaml b/task/oci-copy-oci-ta/0.1/oci-copy-oci-ta.yaml index 63b889abeb..b312fc2914 100644 --- a/task/oci-copy-oci-ta/0.1/oci-copy-oci-ta.yaml +++ b/task/oci-copy-oci-ta/0.1/oci-copy-oci-ta.yaml @@ -305,6 +305,12 @@ spec: "specVersion": "1.5", "version": 1, "components": [] + "metadata": { + "component": { + "type": "file", + "name": "${IMAGE%:*}@$(cat "$(results.IMAGE_DIGEST.path)")" + } + } } EOL diff --git a/task/oci-copy/0.1/oci-copy.yaml b/task/oci-copy/0.1/oci-copy.yaml index c40994fc78..36581080c5 100644 --- a/task/oci-copy/0.1/oci-copy.yaml +++ b/task/oci-copy/0.1/oci-copy.yaml @@ -284,6 +284,12 @@ spec: "specVersion": "1.5", "version": 1, "components": [] + "metadata": { + "component": { + "type": "file", + "name": "${IMAGE%:*}@$(cat "$(results.IMAGE_DIGEST.path)")" + } + } } EOL