claude-memory-mcp/.woodpecker/build.yml
Viktor Barzin 1fa6c2031e
Some checks failed
ci/woodpecker/push/deploy Pipeline failed
ci/woodpecker/push/build Pipeline failed
Phase 4: Forgejo only push (drop DockerHub from build pipeline)
2026-05-07 23:28:11 +00:00

43 lines
1.2 KiB
YAML

when:
event: push
branch: [main, master]
clone:
git:
image: woodpeckerci/plugin-git
settings:
attempts: 5
backoff: 10s
steps:
- name: test
image: python:3.12-slim
commands:
- pip install --no-cache-dir uv
- uv sync --all-extras
- uv run ruff check src/ tests/
- uv run mypy src/claude_memory/
- uv run pytest tests/ -v --tb=short
- name: build-and-push
image: woodpeckerci/plugin-docker-buildx
depends_on:
- test
settings:
# Phase 4 of forgejo-registry-consolidation 2026-05-07 — Forgejo only.
# The DockerHub mirror stays as the public-facing release target via
# the GitHub `release.yml` workflow (still enabled), but the cluster
# pulls from Forgejo (infra/stacks/claude-memory/main.tf flipped 2026-05-07).
repo:
- forgejo.viktorbarzin.me/viktor/claude-memory-mcp
logins:
- registry: forgejo.viktorbarzin.me
username:
from_secret: forgejo_user
password:
from_secret: forgejo_push_token
dockerfile: docker/Dockerfile
context: .
auto_tag: true
platforms:
- linux/amd64