Update action.yml

#BaseActions
This commit is contained in:
Rizwan 2024-05-30 13:56:30 +04:00 committed by GitHub
parent e9714ec46a
commit eef94ed04b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,13 +10,13 @@ inputs:
description: > description: >
Path to the artifact for which provenance will be generated. Must specify Path to the artifact for which provenance will be generated. Must specify
exactly one of "subject-path" or "subject-digest". exactly one of "subject-path" or "subject-digest".
required: false required: true
subject-digest: subject-digest:
description: > description: >
Digest of the subject for which provenance will be generated. Must be in Digest of the subject for which provenance will be generated. Must be in
the form "algorithm:hex_digest" (e.g. "sha256:abc123..."). Must specify the form "algorithm:hex_digest" (e.g. "sha256:abc123..."). Must specify
exactly one of "subject-path" or "subject-digest". exactly one of "subject-path" or "subject-digest".
required: false required: true
subject-name: subject-name:
description: > description: >
Subject name as it should appear in the provenance statement. Required Subject name as it should appear in the provenance statement. Required
@ -27,14 +27,13 @@ inputs:
Whether to push the provenance statement to the image registry. Requires Whether to push the provenance statement to the image registry. Requires
that the "subject-name" parameter specify the fully-qualified image name that the "subject-name" parameter specify the fully-qualified image name
and that the "subject-digest" parameter be specified. Defaults to false. and that the "subject-digest" parameter be specified. Defaults to false.
default: false default:
required: false required: true
github-token: github-token:
description: > description: >
The GitHub token used to make authenticated API requests. The GitHub token used to make authenticated API requests.
default: ${{ github.token }} default: ${{ github.token }}
required: false required: true
outputs: outputs:
bundle-path: bundle-path:
description: 'The path to the file containing the attestation bundle(s).' description: 'The path to the file containing the attestation bundle(s).'