File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build and Push agent-manager Image
1+ name : Build and Push agent-manager Image (Multi-Arch)
22
33on :
44 push :
1818 with :
1919 submodules : false
2020
21- - name : Debug agent-manager files
22- run : |
23- ls -la agent-manager
24- ls -la agent-manager/src || echo "src not found"
25- ls agent-manager/src/*.js 2>/dev/null || echo "No .js files"
26- cat agent-manager/Dockerfile || echo "Dockerfile missing"
21+ - name : Set up QEMU for multi-arch builds
22+ uses : docker/setup-qemu-action@v3
2723
2824 - name : Set up Docker Buildx
2925 uses : docker/setup-buildx-action@v3
@@ -35,10 +31,13 @@ jobs:
3531 username : ${{ github.actor }}
3632 password : ${{ secrets.GITHUB_TOKEN }}
3733
38- - name : Build and push agent-manager
34+ - name : Build and push multi-platform
3935 uses : docker/build-push-action@v6
4036 with :
4137 context : ./agent-manager
4238 file : ./agent-manager/Dockerfile
39+ platforms : linux/amd64,linux/arm64/v8
4340 push : true
44- tags : ghcr.io/anentrypoint/agent-manager:latest
41+ tags : ghcr.io/anentrypoint/agent-manager:latest
42+ cache-from : type=gha
43+ cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments