changed signing method
This commit is contained in:
@@ -114,8 +114,11 @@ jobs:
|
|||||||
if: github.event_name != 'pull_request' && env.IS_TEST_BUILD == 'false'
|
if: github.event_name != 'pull_request' && env.IS_TEST_BUILD == 'false'
|
||||||
run: |
|
run: |
|
||||||
DIGEST=$(skopeo inspect docker://humocs-man.duckdns.org/humocs-man/fluffy-pancake:stable --format '{{.Digest}}')
|
DIGEST=$(skopeo inspect docker://humocs-man.duckdns.org/humocs-man/fluffy-pancake:stable --format '{{.Digest}}')
|
||||||
|
|
||||||
|
# Wir signieren den Digest und zwingen Cosign in den modernen OCI 1.1 Modus
|
||||||
cosign sign -y \
|
cosign sign -y \
|
||||||
--key env://COSIGN_PRIVATE_KEY \
|
--key env://COSIGN_PRIVATE_KEY \
|
||||||
|
--oci-11=true \
|
||||||
"humocs-man.duckdns.org/humocs-man/fluffy-pancake@${DIGEST}"
|
"humocs-man.duckdns.org/humocs-man/fluffy-pancake@${DIGEST}"
|
||||||
env:
|
env:
|
||||||
COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}
|
COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}
|
||||||
|
|||||||
Reference in New Issue
Block a user