Scaffold Matrix + GitOps + Claude automation stack
build-agent / build-and-push (push) Failing after 18s
build-agent / build-and-push (push) Failing after 18s
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
name: build-agent
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "agent/**"
|
||||
- ".gitea/workflows/build.yml"
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
# If your act_runner advertises a different label than "docker" (check its
|
||||
# config.yaml / GITEA_RUNNER_LABELS), update this to match.
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to Gitea registry
|
||||
run: |
|
||||
echo "${{ secrets.GITEA_TOKEN }}" | docker login "${{ vars.GITEA_HOST }}" \
|
||||
-u "${{ gitea.actor }}" --password-stdin
|
||||
|
||||
- name: Build and push claude-agent image
|
||||
run: |
|
||||
IMAGE="${{ vars.GITEA_HOST }}/${{ gitea.repository }}/claude-agent:latest"
|
||||
docker build -t "$IMAGE" ./agent
|
||||
docker push "$IMAGE"
|
||||
Reference in New Issue
Block a user