Skip to content

Default GHCR build to amd64#2

Merged
ianrossi merged 1 commit intomainfrom
issue/7-amd64-ghcr-build
Apr 8, 2026
Merged

Default GHCR build to amd64#2
ianrossi merged 1 commit intomainfrom
issue/7-amd64-ghcr-build

Conversation

@ianrossi
Copy link
Copy Markdown

@ianrossi ianrossi commented Apr 8, 2026

Follow-up to https://github.com/aimtheory/quantifai-deploy/issues/7\n\nBerlin only needs amd64, so default the ad hoc GHCR workflow to linux/amd64 and keep platforms configurable for future multi-arch builds.

Copilot AI review requested due to automatic review settings April 8, 2026 21:27
@ianrossi ianrossi merged commit 0570f58 into main Apr 8, 2026
6 checks passed
@ianrossi ianrossi deleted the issue/7-amd64-ghcr-build branch April 8, 2026 21:27
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the ad-hoc GHCR build workflow to default to building linux/amd64 images (per Berlin’s current needs) while keeping the target platform configurable for future multi-arch builds.

Changes:

  • Adds a workflow_dispatch input (platforms) with a default of linux/amd64.
  • Wires the Docker build step to use the provided platforms input (with an amd64 fallback).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

with:
context: .
platforms: linux/amd64,linux/arm64
platforms: ${{ github.event.inputs.platforms || 'linux/amd64' }}
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow uses github.event.inputs.platforms to read the workflow_dispatch input, but other workflows in this repo consistently use the inputs context (e.g., manual-build.yaml). For consistency and readability, consider switching to ${{ inputs.platforms }} here; since you already define a default on the input, the || 'linux/amd64' fallback can likely be removed as well.

Suggested change
platforms: ${{ github.event.inputs.platforms || 'linux/amd64' }}
platforms: ${{ inputs.platforms }}

Copilot uses AI. Check for mistakes.
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.

3 participants