From b38fb8663618d7323ed84545e5f030abb40c71aa Mon Sep 17 00:00:00 2001 From: Enguerrand Allamel Date: Thu, 29 Aug 2024 11:58:49 +0200 Subject: [PATCH] feat: Add to attest action the push-to-registry option --- actions/attest/action.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/actions/attest/action.yaml b/actions/attest/action.yaml index b4973d0..a513bce 100644 --- a/actions/attest/action.yaml +++ b/actions/attest/action.yaml @@ -6,10 +6,16 @@ inputs: description: "Path to the artefact to attest" required: true default: "./" + push-to-registry: + description: "Push the attestation to the registry" + required: false + default: "false" runs: using: "composite" steps: - uses: actions/attest-build-provenance@v1 with: - subject-path: ${{ inputs.subject-path }} \ No newline at end of file + subject-path: ${{ inputs.subject-path }} + show-summary: true + push-to-registry: ${{ inputs.push-to-registry }} \ No newline at end of file