@@ -14,12 +14,6 @@ permissions:
1414 packages : write
1515
1616jobs :
17- build-images :
18- name : " Build AgentEx Images"
19- uses : ./.github/workflows/build-agentex.yml
20- with :
21- commit-sha : ${{ inputs.commit-sha || 'main' }}
22-
2317 pull-agent-images :
2418 name : " Pull AgentEx Images"
2519 runs-on : ubuntu-latest
@@ -31,17 +25,22 @@ jobs:
3125 username : ${{ github.repository_owner }}
3226 password : ${{ secrets.GITHUB_TOKEN }}
3327
34- - name : Discover and pull agentex-python packages
28+ - name : Discover and pull scale- agentex-python packages
3529 env :
3630 GH_TOKEN : ${{ github.token }}
3731 run : |
38- echo "🔍 Discovering packages from agentex-python repo..."
32+ echo "🔍 Discovering packages from scale-agentex-python repo..."
33+
34+ # First get all packages and save to temp file to avoid shell issues
35+ gh api "orgs/scaleapi/packages?package_type=container" > /tmp/packages.json
3936
40- # Get package names using the API query
41- PACKAGES=$(gh api "orgs/scaleapi /packages?package_type=container" -- jq '.[] | select(.repository.name == "agentex-python") | .name')
37+ # Extract packages from scale-agentex-python repo
38+ PACKAGES=$(cat /tmp /packages.json | jq -r '.[] | select(.repository.name == "scale- agentex-python") | .name')
4239
4340 if [ -z "$PACKAGES" ]; then
44- echo "❌ No packages found in agentex-python repo"
41+ echo "❌ No packages found in scale-agentex-python repo"
42+ echo "🔍 Available packages and their repos:"
43+ cat /tmp/packages.json | jq -r '.[] | "\(.name) -> \(.repository.name // "null")"'
4544 exit 0
4645 fi
4746
0 commit comments