Remove build-push from CI — Nas runner lacks Docker socket inside containers
Build+push must happen on the NAS host via watch-loop.sh or build-push.sh
This commit is contained in:
@@ -25,17 +25,3 @@ jobs:
|
||||
run: cd $GITHUB_WORKSPACE/products/06-runbook-automation/saas && npm test
|
||||
|
||||
|
||||
build-push:
|
||||
runs-on: ubuntu-24.04
|
||||
needs: test
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: git clone --depth=1 http://192.168.86.11:3005/jarvis/dd0c.git $GITHUB_WORKSPACE || true
|
||||
- name: Build and push
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE/products
|
||||
docker build -t 192.168.86.11:30095/dd0c-run:latest ./06-runbook-automation/saas
|
||||
docker push 192.168.86.11:30095/dd0c-run:latest
|
||||
- name: Deploy
|
||||
run: cd $GITHUB_WORKSPACE/products && docker compose pull run && docker compose up -d run
|
||||
|
||||
Reference in New Issue
Block a user