This repository was archived by the owner on Apr 24, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Build and Push agent-manager Image
33on :
44 push :
55 branches : [main]
6- workflow_dispatch : # Run manually from GitHub UI if needed
6+ workflow_dispatch :
77
88jobs :
99 build :
@@ -16,14 +16,19 @@ jobs:
1616 - name : Checkout repository
1717 uses : actions/checkout@v4
1818 with :
19- submodules : recursive
20- fetch-depth : 0 # Full history helps with cache
19+ submodules : false # Skip automatic submodule init
2120
22- - name : Debug context (for troubleshooting)
21+ - name : Manually init and update submodules
22+ run : |
23+ git submodule sync --recursive
24+ git config --global url."git://github.com/".insteadOf "https://github.com/" # Use git:// for anonymous clone (no auth prompt)
25+ git submodule update --init --recursive --force
26+
27+ - name : Debug context
2328 run : |
2429 ls -la .
25- ls -la agent-manager || echo "agent-manager folder missing!"
26- ls -la agent-manager/src || echo "src folder missing or empty!"
30+ ls -la agent-manager || echo "agent-manager missing!"
31+ ls -la agent-manager/src || echo "src missing or empty!"
2732 ls -la agent-manager/src/*.js 2>/dev/null || echo "No JS files found in src"
2833 cat agent-manager/package.json || echo "package.json not found"
2934
4449 file : ./agent-manager/Dockerfile
4550 push : true
4651 tags : ghcr.io/anentrypoint/agent-manager:latest
47- no-cache : false # Use cache if available; set true for force clean build
4852 cache-from : type=gha
4953 cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments