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:
parent
e9826e103d
commit
f330886af7
2 changed files with 12 additions and 6 deletions
9
.github/workflows/image.yaml
vendored
9
.github/workflows/image.yaml
vendored
|
@ -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 }}" \
|
||||
|
|
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
|
@ -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 }}" \
|
||||
|
|
Loading…
Reference in a new issue