From ae3da0c1279663a41f54f1045f870ce587906dc6 Mon Sep 17 00:00:00 2001 From: Sam Toxopeus Date: Thu, 3 Oct 2024 16:44:55 +0200 Subject: [PATCH] Add missing $ --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7d352ab..636b399 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -67,9 +67,9 @@ jobs: with: context: . push: true - tags: {{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.VERSION }} - cache-from: type=registry,ref={{ env.REGISTRY }}/${{ env.IMAGE }}:buildcache - cache-to: type=registry,ref={{ env.REGISTRY }}/${{ env.IMAGE }}:buildcache,mode=max,ignore-error=true + tags: ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.VERSION }} + cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE }}:buildcache + cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE }}:buildcache,mode=max,ignore-error=true # Sign the resulting Docker image digest except on PRs. # This will only write to the public Rekor transparency log when the Docker @@ -79,7 +79,7 @@ jobs: - name: Sign the published Docker image env: # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable - TAGS: {{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.VERSION }} + TAGS: ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.VERSION }} DIGEST: ${{ steps.build-and-push.outputs.digest }} # This step uses the identity token to provision an ephemeral certificate # against the sigstore community Fulcio instance.