Skip to content

chore(docker): native multi-arch via shared workflow - #87

Merged
gondoi merged 1 commit into
masterfrom
devops-1577-graviton-faucet-multiarch
Aug 26, 2026
Merged

chore(docker): native multi-arch via shared workflow#87
gondoi merged 1 commit into
masterfrom
devops-1577-graviton-faucet-multiarch

Conversation

@gondoi

@gondoi gondoi commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Migrate container builds to FuelLabs/github-actions/.github/workflows/docker-build-push.yml@master
  • Native multi-arch: linux/amd64 + linux/arm64 (ubuntu-latest / ubuntu-24.04-arm)

Recreates #86, which was closed unmerged without a stated reason. Rebased cleanly onto current master.

Test plan

  • CI passes on PR (amd64 + arm64 build jobs)
  • Image manifest lists both architectures after merge

Part of DEVOPS-1577 / Move to graviton.

Migrate container builds to FuelLabs/github-actions docker-build-push.yml
for native linux/amd64 + linux/arm64 builds. Recreates #86 (closed unmerged)
against current master.

Part of DEVOPS-1577 / Move to graviton.
@cursor

cursor Bot commented Aug 26, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
CI-only change to how the faucet image is built and published; no application runtime or security logic changes, though image delivery now depends on the shared workflow at @master.

Overview
Replaces the inline build-and-publish-image job (checkout, metadata, Buildx, ghcr.io login, and docker/build-push-action) with the reusable FuelLabs/github-actions docker-build-push.yml@master workflow.

The job keeps the same when conditions and upstream needs, and adds permissions for packages: write and id-token: write. Builds now use build-backend: native for linux/amd64 and linux/arm64 on ubuntu-latest and ubuntu-24.04-arm, with auth-mode: registry-login to ghcr.io and the same image (ghcr.io/fuellabs/faucet) and tag rules (branch, sha, semver).

Reviewed by Cursor Bugbot for commit ec4d85c. Bugbot is set up for automated code reviews on this repo. Configure here.

@gondoi
gondoi merged commit dd9640c into master Aug 26, 2026
10 of 13 checks passed
@gondoi
gondoi deleted the devops-1577-graviton-faucet-multiarch branch August 26, 2026 21:29
xgreenx added a commit that referenced this pull request Aug 28, 2026
`--platform=$BUILDPLATFORM` was a no-op under the single-arch buildx job this
branch was written against, and it is a no-op under the native per-arch runners
#87 introduced on master. It stops being a no-op the moment the image job falls
back to emulation, at which point the builder stage would produce a build-arch
binary and copy it into a target-arch runtime image.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.

2 participants