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/TimHoogervorst/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