Refactor deployment workflow to build and push Docker image for Agent API
Build and Push Agent API / build (push) Failing after 1s

This commit is contained in:
2026-05-10 15:05:42 +02:00
parent 4c758f7733
commit f8f2fa04f4
+19 -4
View File
@@ -1,9 +1,24 @@
name: Build and Push Agent API
on:
push:
branches:
- main
jobs: jobs:
deploy: build:
runs-on: home runs-on: home
steps: steps:
- name: Pull repo - name: Checkout repo
uses: actions/checkout@v4
- name: Build Docker image
run: | run: |
cd /mnt/ai/repos/main docker build \
git pull origin main -t 192.168.1.185:5010/agents-api:latest \
-f docker/Dockerfile .
- name: Push image to registry
run: |
docker push 192.168.1.185:5010/agents-api:latest