Skip to content

Commit

Permalink
Docker: Fix push and sign
Browse files Browse the repository at this point in the history
  • Loading branch information
USA-RedDragon committed Feb 6, 2023
1 parent 4fe26cb commit df8891e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:

- name: Sign Docker Image
if: github.event_name == 'push'
run: cosign sign -key /tmp/cosign.key ${TAGS}
run: cosign sign --key /tmp/cosign.key ${TAGS}
env:
TAGS: ${{steps.meta.outputs.tags}}
TAGS: ${{steps.metarelease.outputs.tags}}
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}
4 changes: 2 additions & 2 deletions .github/workflows/docker-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ github.repository }}
images: jamcswain/DMRHub
tags: |
type=ref,event=branch
type=ref,event=tag
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
build-args: IS_CI=true

- name: Sign Docker Image
run: cosign sign -key /tmp/cosign.key ${TAGS}
run: cosign sign --key /tmp/cosign.key ${TAGS}
env:
TAGS: ${{steps.meta.outputs.tags}}
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}

0 comments on commit df8891e

Please sign in to comment.