This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
Bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0 in /cosign-ecs-function #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify signatures | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['main'] | |
pull_request: | |
jobs: | |
test_cosign_action: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: none | |
name: Install Cosign and test presence in path | |
steps: | |
- name: Install Cosign | |
uses: sigstore/cosign-installer@main | |
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 #v2.4.0 | |
with: | |
ssh-key: ${{ secrets.BLOG_SECRET_KEY }} | |
- name: Check signed/unsigned image! | |
run: | | |
cosign verify --key cosign.pub public.ecr.aws/d1r0p2a6/ecs-cosign-demo2:signed && \ | |
! cosign verify --key cosign.pub public.ecr.aws/d1r0p2a6/ecs-cosign-demo2:unsigned |