Skip to content

Commit

Permalink
chore(action): comment sign with GitHub OIDC Token
Browse files Browse the repository at this point in the history
  • Loading branch information
Windemiatrix committed May 28, 2024
1 parent 9be5d9d commit b5ef8a6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ runs:
cosign sign --yes --key env://COSIGN_PRIVATE_KEY ${images}
shell: bash

- name: Sign the images with GitHub OIDC Token
env:
DIGEST: ${{ inputs.image-digest }}
TAGS: ${{ inputs.image-tags }}
run: |
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}
shell: bash
# - name: Sign the images with GitHub OIDC Token
# env:
# DIGEST: ${{ inputs.image-digest }}
# TAGS: ${{ inputs.image-tags }}
# run: |
# images=""
# for tag in ${TAGS}; do
# images+="${tag}@${DIGEST} "
# done
# cosign sign --yes ${images}
# shell: bash

0 comments on commit b5ef8a6

Please sign in to comment.