[PR #25] [CLOSED] Stabilize release GHCR distribution by inlining build job on ubuntu-latest #18

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

📋 Pull Request Information

Original PR: https://github.com/webgrip/infrastructure/pull/25
Author: @Copilot
Created: 5/31/2026
Status: Closed

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


📝 Commits (3)

  • 37b9e71 Initial plan
  • 4cd6c61 chore: outline fix plan for GHCR workflow failure
  • 5b525c7 fix: run release GHCR builds on ubuntu-latest jobs

📊 Changes

7 files changed (+169 additions, -25 deletions)

View changed files

📝 .github/workflows/on_release_published.yml (+41 -25)
.tmp_logs/extracted/4_Parse tag.txt (+67 -0)
.tmp_logs/extracted/Distribute (prerelease)/system.txt (+4 -0)
.tmp_logs/extracted/Distribute _ Docker Build and Push (GHCR)/1_Set up job.txt (+35 -0)
.tmp_logs/extracted/Distribute _ Docker Build and Push (GHCR)/system.txt (+14 -0)
.tmp_logs/extracted/Parse tag/system.txt (+8 -0)
.tmp_logs/logs.zip (+0 -0)

📄 Description

[Workflow] On Release Published intermittently failed at Distribute / Docker Build and Push (GHCR) (job 78681796774) before any actionable step logs were emitted from the build step. This change removes the failing execution path while preserving release image build/push behavior.

  • What changed

    • Replaced reusable workflow invocations in .github/workflows/on_release_published.yml:
      • release-distribute-ghcr
      • release-distribute-ghcr-prerelease
    • These jobs now run directly on ubuntu-latest with explicit steps instead of uses: webgrip/workflows/...docker-build-and-push-ghcr.yml@main.
  • Behavior preserved

    • Same Docker context/file/platforms/build args.
    • Same release tag semantics (version and latest for stable; version only for prerelease).
    • Same GHCR/Docker credentials wiring via env (GHCR_*, DOCKER_*).
  • Operational impact

    • Keeps the GHCR build/push logic (same composite action), but avoids the unstable reusable-workflow + runner path that caused the release job to hang/fail.
- uses: ./.github/composite-actions/docker-build-push-ghcr
  with:
    docker-context: "ops/docker/${{ needs.parse-release-tag.outputs.image }}"
    docker-file: "Dockerfile"
    platforms: "linux/amd64,linux/arm64"
  env:
    GHCR_USERNAME: ${{ github.actor }}
    GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}

🔄 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/25 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 5/31/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `copilot/fix-docker-build-and-push` --- ### 📝 Commits (3) - [`37b9e71`](https://github.com/webgrip/infrastructure/commit/37b9e71b56175123a5c406d733ebf6ff638d5c05) Initial plan - [`4cd6c61`](https://github.com/webgrip/infrastructure/commit/4cd6c61542a6f1a6a3f7c95949879a09ca652f7d) chore: outline fix plan for GHCR workflow failure - [`5b525c7`](https://github.com/webgrip/infrastructure/commit/5b525c77f3e457e9cd41fda02bb77058cbf59ae2) fix: run release GHCR builds on ubuntu-latest jobs ### 📊 Changes **7 files changed** (+169 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/on_release_published.yml` (+41 -25) ➕ `.tmp_logs/extracted/4_Parse tag.txt` (+67 -0) ➕ `.tmp_logs/extracted/Distribute (prerelease)/system.txt` (+4 -0) ➕ `.tmp_logs/extracted/Distribute _ Docker Build and Push (GHCR)/1_Set up job.txt` (+35 -0) ➕ `.tmp_logs/extracted/Distribute _ Docker Build and Push (GHCR)/system.txt` (+14 -0) ➕ `.tmp_logs/extracted/Parse tag/system.txt` (+8 -0) ➕ `.tmp_logs/logs.zip` (+0 -0) </details> ### 📄 Description `[Workflow] On Release Published` intermittently failed at **Distribute / Docker Build and Push (GHCR)** (job `78681796774`) before any actionable step logs were emitted from the build step. This change removes the failing execution path while preserving release image build/push behavior. - **What changed** - Replaced reusable workflow invocations in `.github/workflows/on_release_published.yml`: - `release-distribute-ghcr` - `release-distribute-ghcr-prerelease` - These jobs now run directly on `ubuntu-latest` with explicit `steps` instead of `uses: webgrip/workflows/...docker-build-and-push-ghcr.yml@main`. - **Behavior preserved** - Same Docker context/file/platforms/build args. - Same release tag semantics (`version` and `latest` for stable; `version` only for prerelease). - Same GHCR/Docker credentials wiring via env (`GHCR_*`, `DOCKER_*`). - **Operational impact** - Keeps the GHCR build/push logic (same composite action), but avoids the unstable reusable-workflow + runner path that caused the release job to hang/fail. ```yaml - uses: ./.github/composite-actions/docker-build-push-ghcr with: docker-context: "ops/docker/${{ needs.parse-release-tag.outputs.image }}" docker-file: "Dockerfile" platforms: "linux/amd64,linux/arm64" env: GHCR_USERNAME: ${{ github.actor }} GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` --- <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:27 +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#18
No description provided.