Disable signature

This commit is contained in:
Florian RICHER 2024-10-11 23:22:01 +02:00
parent 093cc2b6a7
commit 030ccc61cf

View file

@ -64,12 +64,10 @@ jobs:
push: true
tags: gitea.mrdev023.fr/florian.richer/fedora_atomic_custom_image:latest
- name: Sign container image
if: gitea.event_name != 'pull_request'
run: |
cosign sign -y --key env://COSIGN_PRIVATE_KEY gitea.mrdev023.fr/florian.richer/fedora_atomic_custom_image:latest
env:
TAGS: ${{ steps.push.outputs.digest }}
COSIGN_EXPERIMENTAL: false
COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}
COSIGN_PASSWORD: ""
# - name: Sign container image
# if: gitea.event_name != 'pull_request'
# run: |
# cosign sign -y --key env://COSIGN_PRIVATE_KEY gitea.mrdev023.fr/florian.richer/fedora_atomic_custom_image:latest
# env:
# COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}
# COSIGN_PASSWORD: ""