Skip to content

Commit

Permalink
feat: Add to attest action the push-to-registry option
Browse files Browse the repository at this point in the history
  • Loading branch information
AEnguerrand committed Aug 29, 2024
1 parent 086832d commit b38fb86
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion actions/attest/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
subject-path: ${{ inputs.subject-path }}
show-summary: true
push-to-registry: ${{ inputs.push-to-registry }}

0 comments on commit b38fb86

Please sign in to comment.