From 86d9dae1cec42a65faf6b3355168bed746ebb5d3 Mon Sep 17 00:00:00 2001 From: Chris Rosenthal Date: Wed, 24 Jul 2024 11:06:23 -0700 Subject: [PATCH] test --- .github/workflows/unittests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 3d225b3..fe83949 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -76,3 +76,10 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max + + - name: Sign the published Docker image + if: ${{ github.ref_type == 'tag' }} + env: + TAGS: ${{ steps.meta.outputs.tags }} + DIGEST: ${{ steps.build-and-push.outputs.digest }} + run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}