File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
crates/example-eventage-claw Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1111
1212env :
1313 REGISTRY : ghcr.io
14- CLAW_IMAGE : ghcr.io/${{ github.repository_owner }}/eventage-claw
15- BRIDGE_IMAGE : ghcr.io/${{ github.repository_owner }}/eventage-claw-bridge
1614
1715jobs :
16+ prepare :
17+ runs-on : ubuntu-latest
18+ outputs :
19+ claw_image : ghcr.io/${{ steps.lower.outputs.owner }}/eventage-claw
20+ bridge_image : ghcr.io/${{ steps.lower.outputs.owner }}/eventage-claw-bridge
21+ steps :
22+ - id : lower
23+ run : echo "owner=$(echo '${{ github.repository_owner }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
24+
1825 build-claw :
1926 name : Build claw (Rust)
27+ needs : prepare
2028 runs-on : ubuntu-latest
2129 permissions :
2230 contents : read
@@ -40,12 +48,13 @@ jobs:
4048 context : .
4149 file : crates/example-eventage-claw/Dockerfile
4250 push : true
43- tags : ${{ env.CLAW_IMAGE }}:latest,${{ env.CLAW_IMAGE }}:${{ github.sha }}
51+ tags : ${{ needs.prepare.outputs.claw_image }}:latest,${{ needs.prepare.outputs.claw_image }}:${{ github.sha }}
4452 cache-from : type=gha
4553 cache-to : type=gha,mode=max
4654
4755 build-bridge :
4856 name : Build whatsapp-bridge (Node)
57+ needs : prepare
4958 runs-on : ubuntu-latest
5059 permissions :
5160 contents : read
6978 context : crates/example-eventage-claw/whatsapp-bridge
7079 file : crates/example-eventage-claw/whatsapp-bridge/Dockerfile
7180 push : true
72- tags : ${{ env.BRIDGE_IMAGE }}:latest,${{ env.BRIDGE_IMAGE }}:${{ github.sha }}
81+ tags : ${{ needs.prepare.outputs.bridge_image }}:latest,${{ needs.prepare.outputs.bridge_image }}:${{ github.sha }}
7382 cache-from : type=gha
7483 cache-to : type=gha,mode=max
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ services:
22
33 # ── eventage-claw (Rust AI agent, HTTP channel) ────────────────────────────
44 claw :
5- image : ${CLAW_IMAGE:-ghcr.io/dwzhangdavid /eventage-claw:latest}
5+ image : ${CLAW_IMAGE:-ghcr.io/onthethirdday /eventage-claw:latest}
66 build :
77 # Build context is the workspace root so cargo can see all crates.
88 context : ../..
@@ -28,7 +28,7 @@ services:
2828 # Optional: only needed for WhatsApp connectivity.
2929 # Comment this service out if using claw's HTTP channel directly.
3030 whatsapp-bridge :
31- image : ${BRIDGE_IMAGE:-ghcr.io/dwzhangdavid /eventage-claw-bridge:latest}
31+ image : ${BRIDGE_IMAGE:-ghcr.io/onthethirdday /eventage-claw-bridge:latest}
3232 build :
3333 context : whatsapp-bridge
3434 dockerfile : Dockerfile
You can’t perform that action at this time.
0 commit comments