fix docker build

This commit is contained in:
anhefti 2022-03-22 08:56:36 +01:00
parent 242e8d1dd9
commit b960b19056

View file

@ -151,9 +151,7 @@ jobs:
env:
KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
-
name: Sign image with private key
run: |
cosign sign --key cosign.key docker.io/anhefti/seb-server:${{ env.TAG_NAME }}
env:
COSIGN_PRIVATE_KEY: ${{secrets.COSIGN_PRIVATE_KEY}}
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}
name: Sign the published Docker image
env:
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
run: cosign sign --key cosign.key docker.io/anhefti/seb-server:${{ env.TAG_NAME }}