claude-agent-service/.woodpecker.yml

42 lines
1.2 KiB
YAML
Raw Normal View History

2026-05-07 17:07:12 +00:00
when:
event: push
path: "claude-agent-service/**"
clone:
git:
image: woodpeckerci/plugin-git
settings:
attempts: 5
backoff: 10s
steps:
- name: build-and-push
image: woodpeckerci/plugin-docker-buildx
settings:
username: "viktorbarzin"
password:
from_secret: dockerhub-pat
# Dual-push during the Forgejo registry consolidation bake. After
# ≥14 days clean, registry.viktorbarzin.me drops out (Phase 4).
# Once this directory is extracted to the Forgejo viktor/claude-agent-service
# repo, drop the `path:` filter above and the `claude-agent-service/`
# prefix in dockerfile/context.
repo:
- registry.viktorbarzin.me/claude-agent-service
- forgejo.viktorbarzin.me/viktor/claude-agent-service
logins:
- registry: registry.viktorbarzin.me
username: viktorbarzin
password:
from_secret: registry-password
- registry: forgejo.viktorbarzin.me
username:
from_secret: forgejo_user
password:
from_secret: forgejo_push_token
dockerfile: claude-agent-service/Dockerfile
context: claude-agent-service
auto_tag: true
platforms:
- linux/amd64