Compare commits

..
Author SHA1 Message Date
4180ac6481 ci(docker): read version via sed not node (ARC runner lacks node → exit 127) (#18)
Docker / docker (push) Failing after 12s
Co-authored-by: hanzo-dev <dev@hanzo.ai>
2026-06-28 20:05:40 -07:00
99db5965cf ci(docker): SHA tag from $GITHUB_SHA not git binary (ARC runner lacks git -> exit 127) (#17)
Co-authored-by: hanzo-dev <dev@hanzo.ai>
2026-06-28 20:01:25 -07:00
zeekay 97e799caba ci(docker): route to ARC pool hanzo-build-linux-amd64 (not offline native runners) 2026-06-28 18:11:29 -07:00
+8 -3
View File
@@ -13,15 +13,20 @@ permissions:
packages: write
jobs:
docker:
runs-on: [self-hosted, linux, amd64]
# Route to the org-level ARC scale set (always-on, autoscales 0→100).
# The bare [self-hosted, linux, amd64] labels target the native dbc/evo/
# spark runners, which queue indefinitely when offline. ARC v0.14 routes
# by scale-set NAME, so name the pool directly (matches universe + the
# shared hanzoai/.github docker-build.yml default).
runs-on: hanzo-build-linux-amd64
steps:
- uses: actions/checkout@v4
- name: Compute tags
id: tags
run: |
SHA="sha-$(git rev-parse --short HEAD)"
VER="$(node -p "require('./package.json').version")"
SHA="sha-${GITHUB_SHA:0:7}"
VER="$(sed -n 's/.*"version"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' package.json | head -1)"
echo "sha=$SHA" >> "$GITHUB_OUTPUT"
echo "ver=$VER" >> "$GITHUB_OUTPUT"
echo "Tags: $SHA, $VER"