fix(workflow): disable codesign because its broken

This commit is contained in:
2024-06-23 01:47:55 +03:00
parent 967e36d45a
commit d599b9c3bf

View File

@@ -37,9 +37,9 @@ jobs:
# Install the cosign tool except on PR # Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer # https://github.com/sigstore/cosign-installer
- name: Install cosign # - name: Install cosign
if: github.event_name != 'pull_request' # if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@v3.5.0 # uses: sigstore/cosign-installer@v3.5.0
# Workaround: https://github.com/docker/build-push-action/issues/461 # Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx - name: Setup Docker buildx
@@ -79,10 +79,10 @@ jobs:
# repository is public to avoid leaking data. If you would like to publish # repository is public to avoid leaking data. If you would like to publish
# transparency data even for private images, pass --force to cosign below. # transparency data even for private images, pass --force to cosign below.
# https://github.com/sigstore/cosign # https://github.com/sigstore/cosign
- name: Sign the published Docker image # - name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }} # if: ${{ github.event_name != 'pull_request' }}
env: # env:
COSIGN_EXPERIMENTAL: "true" # COSIGN_EXPERIMENTAL: "true"
# This step uses the identity token to provision an ephemeral certificate # # This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance. # # against the sigstore community Fulcio instance.
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }} # run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}