Files
cavepediav2/.gitea/workflows/build-push-agent.yaml
Paul Walko 535a04e2e8
Some checks failed
Build and Push Agent Docker Image / build (push) Failing after 1m10s
Build and Push Web Docker Image / build (push) Successful in 3m34s
build agent correctly
2025-12-12 23:36:41 +01:00

37 lines
906 B
YAML

name: Build and Push Agent Docker Image
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'web/agent/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.seaturtle.pw
username: ${{ gitea.actor }}
password: ${{ secrets.ACTIONS_PUSH_TOKEN }}
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Build with langgraph
working-directory: ./web/agent
run: |
uv run langgraph build -t git.seaturtle.pw/cavepedia/cavepediav2-agent:latest
- name: Push image
run: docker push git.seaturtle.pw/cavepedia/cavepediav2-agent:latest