From 5cf546ef9d63a24880b74cca532418cb7dd324c7 Mon Sep 17 00:00:00 2001 From: Dan Urson Date: Thu, 19 Dec 2024 12:06:03 -0500 Subject: [PATCH] re-add gate to run attestation on push Signed-off-by: Dan Urson --- .github/workflows/atlantis-image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/atlantis-image.yml b/.github/workflows/atlantis-image.yml index 68d6c79e45..2ad42b7855 100644 --- a/.github/workflows/atlantis-image.yml +++ b/.github/workflows/atlantis-image.yml @@ -154,6 +154,7 @@ jobs: outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.description'] }} - name: "Sign and Attest Image" + if: env.PUSH == 'true' uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0 with: subject-digest: ${{ steps.build.outputs.digest }}