Skip to content

Commit

Permalink
comment out broken attestation generation for cdoc2-server-liquibase …
Browse files Browse the repository at this point in the history
…image
  • Loading branch information
jann0k committed Sep 20, 2024
1 parent 47415b1 commit f1f922f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

# This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
#subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-name: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
# Broken: generates images with sha256, that fail to start with "unsupported media type application/vnd.oci.empty.v1+json"
# - name: Generate artifact attestation
# uses: actions/attest-build-provenance@v1
# with:
# #subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
# subject-name: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
# subject-digest: ${{ steps.push.outputs.digest }}
# push-to-registry: true

0 comments on commit f1f922f

Please sign in to comment.