mirror of
https://github.com/luxfi/explorer.git
synced 2026-09-24 00:25:12 +00:00
Merge pull request #2 from luxfi/ci/multi-arch-native
ci: build multi-arch (amd64 + arm64) on native runners
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
self-hosted-runner:
|
||||
labels:
|
||||
- hanzo-build-linux-amd64
|
||||
- hanzo-build-linux-arm64
|
||||
- hanzo-deploy-linux-amd64
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
- main
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: hanzo-build-linux-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
|
||||
@@ -2,16 +2,22 @@ name: Docker
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main, dev, test]
|
||||
tags: ['v*']
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
# Multi-arch (amd64 + arm64) on native hanzo ARC runners.
|
||||
# No QEMU emulation. No GitHub-hosted fallback.
|
||||
# Semver-only tags (v*); see hanzoai/.github docker-build.yml.
|
||||
jobs:
|
||||
docker:
|
||||
uses: hanzoai/.github/.github/workflows/docker-build.yml@main
|
||||
with:
|
||||
image: ghcr.io/luxfi/explorer
|
||||
platforms: linux/amd64,linux/arm64
|
||||
runner-amd64: hanzo-build-linux-amd64
|
||||
runner-arm64: hanzo-build-linux-arm64
|
||||
runner-deploy: hanzo-deploy-linux-amd64
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user