File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ jobs:
224224
225225` ` ` bash
226226cosign verify \
227- --certificate-identity-regexp="^https://github.com/LerianStudio/.* /.github/workflows/.* @refs/heads/.* $" \
227+ --certificate-identity-regexp="^https://github\ . com/LerianStudio/.+ /.github/workflows/.+ @refs/( heads|tags)/.+ $" \
228228 --certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
229229 docker.io/lerianstudio/my-app@sha256:abc123...
230230` ` `
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ jobs:
204204
205205` ` ` bash
206206cosign verify \
207- --certificate-identity-regexp="^https://github.com/LerianStudio/.* /.github/workflows/.* @refs/heads/.* $" \
207+ --certificate-identity-regexp="^https://github\ . com/LerianStudio/.+ /.github/workflows/.+ @refs/( heads|tags)/.+ $" \
208208 --certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
209209 ghcr.io/myorg/my-app@sha256:abc123...
210210` ` `
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ jobs:
231231
232232` ` ` bash
233233cosign verify \
234- --certificate-identity-regexp="^https://github.com/LerianStudio/.* /.github/workflows/.* @refs/heads/.* $" \
234+ --certificate-identity-regexp="^https://github\ .com/LerianStudio/.+ /.github/workflows/.+ @refs/( heads|tags)/.+ $" \
235235 --certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
236236 ghcr.io/lerianstudio/my-app@sha256:abc123...
237237```
Original file line number Diff line number Diff line change 6464
6565` ` ` bash
6666cosign verify \
67- --certificate-identity-regexp="^https://github.com/LerianStudio/.* /.github/workflows/.* @refs/heads/.* $" \
67+ --certificate-identity-regexp="^https://github\ .com/LerianStudio/.+ /.github/workflows/.+ @refs/( heads|tags)/.+ $" \
6868 --certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
6969 docker.io/myorg/myapp@sha256:abc123...
7070```
You can’t perform that action at this time.
0 commit comments