From 8ddf4fb28d5d324b1e3c95d0763346f7e616d1a0 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Tue, 7 Nov 2023 19:22:16 +0330 Subject: [PATCH] chore: fix ci issue --- .github/workflows/publish-container.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 3e2a7b5..33e1575 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -39,7 +39,6 @@ jobs: id-token: write steps: - - name: ⤵️ Checkout repository uses: actions/checkout@v4.0.0 @@ -119,6 +118,5 @@ jobs: - name: 🏗 Sign the image with GitHub OIDC Token if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder == 'true' }} env: - DIGEST: ${{ steps.build_and_push.outputs.digest }} - TAGS: ${{ steps.meta.outputs.tags }} - run: cosign sign --yes "${TAGS}@${DIGEST}" + COSIGN_EXPERIMENTAL: 'true' + run: echo "${{steps.meta.outputs.tags}}" | xargs -I {} cosign sign --yes {}@${{steps.build-and-push.outputs.digest}}