Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4180ac6481 | ||
|
|
99db5965cf | ||
|
|
97e799caba |
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user