File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 8787 description : " If set, provenance is pushed to this registry instead of image registry."
8888 required : false
8989 type : string
90+ recursive :
91+ description : " If set, for the specified multi-arch image, additionally sign each discrete image."
92+ required : false
93+ type : boolean
94+ default : false
9095 outputs :
9196 # Note: we use this output because there is no buildt-in `outcome` and `result` is always `success`
9297 # if `continue-on-error` is set to `true`.
@@ -268,6 +273,7 @@ jobs:
268273 GITHUB_CONTEXT : " ${{ toJSON(github) }}"
269274 VARS_CONTEXT : " ${{ toJSON(vars) }}"
270275 UNTRUSTED_PROVENANCE_REPOSITORY : " ${{ inputs.provenance-repository }}"
276+ RECURSIVE : " ${{ inputs.recursive }}"
271277 run : |
272278 set -euo pipefail
273279
@@ -283,6 +289,7 @@ jobs:
283289 cosign attest --predicate="$predicate_name" \
284290 --type slsaprovenance \
285291 --yes \
292+ --recursive="${RECURSIVE}" \
286293 "${UNTRUSTED_IMAGE}@${UNTRUSTED_DIGEST}"
287294
288295 - name : Final outcome
You can’t perform that action at this time.
0 commit comments