Files
Agents/.gitea/workflows/deploy-agent.yaml
T
2026-05-10 15:07:32 +02:00

25 lines
495 B
YAML

name: Build and Push Agent API
on:
push:
branches:
- main
jobs:
build:
runs-on: home
steps:
- name: Checkout repo
run: |
git clone http://gitea:3000/YOUR_USER/Agents.git .
- name: Build Docker image
run: |
docker build \
-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