forked from claude-did-this/claude-hub
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:
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user