From 52d19a442d03555bc1896cd36dd7dc4a0f0baabd Mon Sep 17 00:00:00 2001 From: orvice L Date: Sat, 12 Nov 2022 01:12:49 +0800 Subject: [PATCH 1/2] update cosign --- .github/workflows/docker-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 9a3b05cab..2650ac04c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -41,9 +41,9 @@ jobs: # https://github.com/sigstore/cosign-installer - name: Install cosign if: github.event_name != 'pull_request' - uses: sigstore/cosign-installer@7e0881f8fe90b25e305bbf0309761e9314607e25 + uses: sigstore/cosign-installer@main with: - cosign-release: 'v1.9.0' + cosign-release: 'v1.13.1' - name: Set up QEMU uses: docker/setup-qemu-action@v2 From d4550a4076680cf5fc7e81c9c9cb38518a36bf5f Mon Sep 17 00:00:00 2001 From: orvice L Date: Sat, 12 Nov 2022 01:13:51 +0800 Subject: [PATCH 2/2] remove cosign --- .github/workflows/docker-publish.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 2650ac04c..2888e1187 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -83,17 +83,4 @@ jobs: context: . push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - - # Sign the resulting Docker image digest except on PRs. - # This will only write to the public Rekor transparency log when the Docker - # repository is public to avoid leaking data. If you would like to publish - # transparency data even for private images, pass --force to cosign below. - # https://github.com/sigstore/cosign - - name: Sign the published Docker image - if: ${{ github.event_name != 'pull_request' }} - env: - COSIGN_EXPERIMENTAL: "true" - # This step uses the identity token to provision an ephemeral certificate - # against the sigstore community Fulcio instance. - run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }} + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file