2026-05-07 15:58:55 +00:00
|
|
|
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:
|
2026-05-07 23:28:11 +00:00
|
|
|
# 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).
|
2026-05-07 15:58:55 +00:00
|
|
|
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
|