self-host langgraph
This commit is contained in:
@@ -22,15 +22,12 @@ jobs:
|
||||
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: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- 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
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./web/agent
|
||||
push: true
|
||||
tags: git.seaturtle.pw/cavepedia/cavepediav2-agent:latest
|
||||
|
||||
Reference in New Issue
Block a user