1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00

fixing cosign command (#2915)

Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
This commit is contained in:
Naman Lakhwani 2022-01-06 02:32:17 +05:30 committed by GitHub
parent e9826e103d
commit f330886af7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 6 deletions

View file

@ -42,7 +42,8 @@ jobs:
- name: Sign image
env:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign \
run: |
cosign sign \
-a "repo=${{ github.repository }}" \
-a "workflow=${{ github.workflow }}" \
-a "ref=${{ github.sha }}" \
@ -84,7 +85,8 @@ jobs:
- name: Sign image
env:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign \
run: |
cosign sign \
-a "repo=${{ github.repository }}" \
-a "workflow=${{ github.workflow }}" \
-a "ref=${{ github.sha }}" \
@ -126,7 +128,8 @@ jobs:
- name: Sign image
env:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign \
run: |
cosign sign \
-a "repo=${{ github.repository }}" \
-a "workflow=${{ github.workflow }}" \
-a "ref=${{ github.sha }}" \

View file

@ -58,7 +58,8 @@ jobs:
- name: Sign image
env:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign \
run: |
cosign sign \
-a "repo=${{ github.repository }}" \
-a "workflow=${{ github.workflow }}" \
-a "ref=${{ github.sha }}" \
@ -130,7 +131,8 @@ jobs:
- name: Sign image and SBOM
env:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign \
run: |
cosign sign \
-a "repo=${{ github.repository }}" \
-a "workflow=${{ github.workflow }}" \
-a "ref=${{ github.sha }}" \
@ -200,7 +202,8 @@ jobs:
- name: Sign image
env:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign \
run: |
cosign sign \
-a "repo=${{ github.repository }}" \
-a "workflow=${{ github.workflow }}" \
-a "ref=${{ github.sha }}" \