Skip to content

Commit

Permalink
feat: Pull latest cosign binary from Chainguard
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>
  • Loading branch information
EyeCantCU committed Jul 2, 2024
1 parent 1c0595b commit 4a69e93
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion sign/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ runs:
password: ${{ inputs.registry-token }}

- name: Install cosign
uses: sigstore/cosign-installer@v3.5.0
shell: bash
run: |
docker pull cgr.dev/chainguard/cosign:latest
docker run -d --name cosign cgr.dev/chainguard/cosign:latest
docker cp cosign:/usr/bin/cosign /usr/local/bin/cosign
- name: Sign container image
shell: bash
Expand Down
6 changes: 5 additions & 1 deletion verify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ runs:
using: "composite"
steps:
- name: Install cosign
uses: sigstore/cosign-installer@v3.5.0
shell: bash
run: |
docker pull cgr.dev/chainguard/cosign:latest
docker run -d --name cosign cgr.dev/chainguard/cosign:latest
docker cp cosign:/usr/bin/cosign /usr/local/bin/cosign
- name: Verify container
shell: bash
Expand Down

0 comments on commit 4a69e93

Please sign in to comment.