Skip to content

Commit

Permalink
Use full image name
Browse files Browse the repository at this point in the history
  • Loading branch information
samhclark committed Sep 22, 2024
1 parent f3d4d63 commit a50fb17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
containerfiles: |
./Containerfile
image: custom-silverblue
image: ghcr.io/samhclark/custom-silverblue
tags: |
${{ github.sha }}
40
Expand Down Expand Up @@ -67,11 +67,12 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
env:
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
IMAGE: ${{ steps.build_image.outputs.image }}
TAGS: ${{ steps.build_image.outputs.tags }}
DIGEST: ${{ steps.push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
run: echo "${TAGS}" | xargs -I {} cosign sign --yes ${IMAGE}:{}@${DIGEST}

- name: Echo outputs
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit a50fb17

Please sign in to comment.