Skip to content

Commit 145612b

Browse files
dpark01claude
andcommitted
Switch Docker builds from OCI to Docker v2 manifests
Quay.io responds to Docker v2 manifest requests with a wrong answer (a v1 manifest) when the v2 manifest does not exist, which happens because the current build produces OCI-format manifests. This causes problems for tools like Cromwell that expect Docker v2 format. Changes: - Set provenance: false to disable OCI-only attestation manifests - Set sbom: false to disable SBOM attestation - Use outputs with oci-mediatypes=false to force Docker v2 media types - Move push control into outputs parameter Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8c8f836 commit 145612b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@ jobs:
7777
with:
7878
context: .
7979
platforms: linux/amd64,linux/arm64
80-
push: ${{ github.event_name == 'push' }}
8180
tags: ${{ steps.meta.outputs.tags }}
8281
labels: ${{ steps.meta.outputs.labels }}
82+
provenance: false
83+
sbom: false
84+
outputs: type=image,push=${{ github.event_name == 'push' }},oci-mediatypes=false
8385
cache-from: type=gha
8486
cache-to: type=gha,mode=max
8587

0 commit comments

Comments
 (0)