Skip to content

Fix Docker release publish failure on GHCR by disabling provenance output#230

Open
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-docker-image-pushing-issue
Open

Fix Docker release publish failure on GHCR by disabling provenance output#230
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-docker-image-pushing-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 2, 2026

The Docker release workflow was failing at push time with a 400 Bad Request on manifest upload. The failure was caused by Buildx publishing provenance/attestation artifacts that the target publish path did not accept.

  • Workflow change: Docker publish

    • Updated .github/workflows/docker-publish.yml in the docker/build-push-action@v6 step.
    • Explicitly disabled provenance generation for release image pushes.
  • Why this matters

    • Keeps release tagging/push behavior unchanged.
    • Avoids emitting extra attestation/manifest index output that caused the registry-side reject.
- name: Build and push Docker image
  uses: docker/build-push-action@v6
  with:
    context: .
    push: true
    provenance: false
    tags: ${{ steps.meta.outputs.tags }}
    labels: ${{ steps.meta.outputs.labels }}

Copilot AI linked an issue Jun 2, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix docker image pushing issue Fix Docker release publish failure on GHCR by disabling provenance output Jun 2, 2026
Copilot AI requested a review from amitsaha June 2, 2026 01:15
@amitsaha
Copy link
Copy Markdown
Owner

amitsaha commented Jun 2, 2026

@copilot i don't understand this provenance issue, explain.

@amitsaha amitsaha marked this pull request as ready for review June 2, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix docker image pushing issue

2 participants