fix: correct runner labels syntax in docker-publish workflow

The workflow was using incorrect syntax that created a single string
"self-hosted, linux, x64, docker" instead of an array of individual
labels ["self-hosted", "linux", "x64", "docker"].

This caused jobs to queue indefinitely as GitHub couldn't find a runner
with the combined label string.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jonathan
2025-05-30 09:16:43 -05:00
parent 886544b1ad
commit cb5a6bf529

View File

@@ -22,7 +22,7 @@ env:
jobs:
build:
# Use self-hosted runners by default, with ability to override via repository variable
runs-on: ${{ fromJSON(format('["{0}"]', (vars.USE_SELF_HOSTED == 'false' && 'ubuntu-latest' || 'self-hosted, linux, x64, docker'))) }}
runs-on: ${{ vars.USE_SELF_HOSTED == 'false' && 'ubuntu-latest' || fromJSON('["self-hosted", "linux", "x64", "docker"]') }}
timeout-minutes: 30
permissions:
contents: read
@@ -110,7 +110,7 @@ jobs:
# Build claudecode separately
build-claudecode:
runs-on: ${{ fromJSON(format('["{0}"]', (vars.USE_SELF_HOSTED == 'false' && 'ubuntu-latest' || 'self-hosted, linux, x64, docker'))) }}
runs-on: ${{ vars.USE_SELF_HOSTED == 'false' && 'ubuntu-latest' || fromJSON('["self-hosted", "linux", "x64", "docker"]') }}
if: github.event_name != 'pull_request'
timeout-minutes: 30
permissions: