Skip to content

Commit

Permalink
cosign
Browse files Browse the repository at this point in the history
  • Loading branch information
xlionjuan authored Oct 27, 2024
1 parent 6234051 commit dcab0ce
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,23 @@ env:
# armhf is ARMv7 (32bit)

jobs:
verify:
name: Verify container
runs-on: ubuntu-latest
steps:
- name: Install Cosign
uses: sigstore/[email protected]

- name: Verify
run: |
cosign verify --rekor-url=https://rekor.sigstore.dev \
--certificate-identity-regexp "https://github.com/xlionjuan/.*" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
ghcr.io/xlionjuan/fedora-createrepo-image-minimal:latest
build:
runs-on: ubuntu-latest
needs: verify
container: ghcr.io/xlionjuan/fedora-createrepo-image-minimal:latest
steps:
- name: Checkout code
Expand Down

0 comments on commit dcab0ce

Please sign in to comment.