[PR #17] [MERGED] Pin release GHCR builds to linux/amd64 to fix manifest-platform mismatch #25

Closed
opened 2026-06-08 09:03:28 +00:00 by ryangr0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/webgrip/infrastructure/pull/17
Author: @Copilot
Created: 5/30/2026
Status: Merged
Merged: 5/30/2026
Merged by: @Ryangr0

Base: mainHead: copilot/fix-docker-build-push-job


📝 Commits (2)

  • 44c37b9 Initial plan
  • af853d3 fix(ci): force release docker builds to linux/amd64

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 .github/workflows/on_release_published.yml (+2 -0)

📄 Description

Release publishing failed in Distribute / Docker Build and Push (GHCR) when run on arm64 ARC runners. The release workflow was invoking the reusable GHCR build without an explicit platform, and a pinned base-image digest in techdocs-builder did not provide the requested platform manifest.

  • Workflow fix

    • Set explicit build platform in release distribution jobs that call docker-build-and-push-ghcr.yml.
    • Applied to both stable and prerelease distribution paths to keep behavior consistent.
  • Why this resolves the failure

    • Forces Buildx to build for linux/amd64, matching the available manifest for pinned base digests used by release images.
with:
  docker-context: "ops/docker/${{ needs.parse-release-tag.outputs.image }}"
  docker-file: "Dockerfile"
  platforms: "linux/amd64"

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/webgrip/infrastructure/pull/17 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 5/30/2026 **Status:** ✅ Merged **Merged:** 5/30/2026 **Merged by:** [@Ryangr0](https://github.com/Ryangr0) **Base:** `main` ← **Head:** `copilot/fix-docker-build-push-job` --- ### 📝 Commits (2) - [`44c37b9`](https://github.com/webgrip/infrastructure/commit/44c37b991c78475aae9e0a69236544267cfc7323) Initial plan - [`af853d3`](https://github.com/webgrip/infrastructure/commit/af853d301a609153bc377480ef97e374efbedcfa) fix(ci): force release docker builds to linux/amd64 ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/on_release_published.yml` (+2 -0) </details> ### 📄 Description Release publishing failed in `Distribute / Docker Build and Push (GHCR)` when run on arm64 ARC runners. The release workflow was invoking the reusable GHCR build without an explicit platform, and a pinned base-image digest in `techdocs-builder` did not provide the requested platform manifest. - **Workflow fix** - Set explicit build platform in release distribution jobs that call `docker-build-and-push-ghcr.yml`. - Applied to both stable and prerelease distribution paths to keep behavior consistent. - **Why this resolves the failure** - Forces Buildx to build for `linux/amd64`, matching the available manifest for pinned base digests used by release images. ```yaml with: docker-context: "ops/docker/${{ needs.parse-release-tag.outputs.image }}" docker-file: "Dockerfile" platforms: "linux/amd64" ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
ryangr0 2026-06-08 09:03:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
webgrip/infrastructure#25
No description provided.