Remove build-push from CI (runners lack Docker access); watch-loop.sh handles it on NAS
This commit is contained in:
@@ -49,20 +49,3 @@ jobs:
|
||||
- name: Test
|
||||
run: cd $GITHUB_WORKSPACE/products/02-iac-drift-detection/saas && npm test
|
||||
|
||||
build-push:
|
||||
runs-on: ubuntu-latest
|
||||
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 localhost:5000/dd0c-drift:latest ./02-iac-drift-detection/saas
|
||||
docker push localhost:5000/dd0c-drift:latest
|
||||
- name: Deploy
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE/products
|
||||
docker compose pull drift
|
||||
docker compose up -d drift
|
||||
|
||||
Reference in New Issue
Block a user