build agent correctly
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

This commit is contained in:
2025-12-12 23:36:41 +01:00
parent 8fe2376940
commit 535a04e2e8
6 changed files with 75 additions and 45 deletions

View File

@@ -22,12 +22,15 @@ jobs:
username: ${{ gitea.actor }}
password: ${{ secrets.ACTIONS_PUSH_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./web/agent
push: true
tags: git.seaturtle.pw/cavepedia/cavepediav2-agent:latest
- 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