Skip to content

Commit

Permalink
Cosign on digest
Browse files Browse the repository at this point in the history
  • Loading branch information
relu committed Jan 29, 2024
1 parent 638ff6f commit 913b799
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
packages: write # needed for ghcr access

env:
CONTAINER_IMAGE: ghcr.io/nex-health/passenger-exporter
GHCR_CONTAINER_IMAGE: ghcr.io/nex-health/passenger-exporter

jobs:
release:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
${{ env.CONTAINER_IMAGE }}
${{ env.GHCR_CONTAINER_IMAGE }}
tags: |
type=raw,value=${{ steps.prep.outputs.VERSION }}
type=raw,value=latest
Expand All @@ -83,4 +83,4 @@ jobs:
env:
COSIGN_EXPERIMENTAL: 1
run: |
cosign sign --yes ${{ env.CONTAINER_IMAGE }}:${{ steps.prep.outputs.VERSION }}
cosign sign --yes ${{ env.GHCR_CONTAINER_IMAGE }}@${{ steps.build.outputs.digest }}

0 comments on commit 913b799

Please sign in to comment.