From 20916e8f90f295b5824b530ade98e9a6abf6094e Mon Sep 17 00:00:00 2001 From: Dan Urson Date: Thu, 12 Dec 2024 15:55:14 -0500 Subject: [PATCH] add image attestation workflow step Signed-off-by: Dan Urson --- .github/workflows/atlantis-image.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/atlantis-image.yml b/.github/workflows/atlantis-image.yml index 011050dbc4..02747bfb6a 100644 --- a/.github/workflows/atlantis-image.yml +++ b/.github/workflows/atlantis-image.yml @@ -146,6 +146,10 @@ jobs: target: ${{ matrix.image_type }} labels: ${{ steps.meta.outputs.labels }} outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.description'] }} + - name: "Attest Image" + uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0 + with: + subject-path: ${{ steps.meta.outputs.tags }} test: needs: [changes]