Initial agent implementation
Some checks failed
Build and Push Agent / build (push) Failing after 50s
Some checks failed
Build and Push Agent / build (push) Failing after 50s
- Node.js Alpine base with Claude Code CLI - MCP configuration for backend communication - Git and development tools pre-installed - K8s deployment manifests - CI/CD workflow for automatic builds Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
26
.gitea/workflows/build.yml
Normal file
26
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Build and Push Agent
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build -t git.fuq.tv/admin/aiworker-agent:${{ gitea.sha }} .
|
||||
|
||||
- name: Tag as latest
|
||||
run: docker tag git.fuq.tv/admin/aiworker-agent:${{ gitea.sha }} git.fuq.tv/admin/aiworker-agent:latest
|
||||
|
||||
- name: Login to Gitea registry
|
||||
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.fuq.tv -u admin --password-stdin
|
||||
|
||||
- name: Push images
|
||||
run: |
|
||||
docker push git.fuq.tv/admin/aiworker-agent:${{ gitea.sha }}
|
||||
docker push git.fuq.tv/admin/aiworker-agent:latest
|
||||
Reference in New Issue
Block a user