Add Woodpecker dual-push pipeline

This commit is contained in:
Viktor Barzin 2026-05-07 17:06:54 +00:00
parent c803de020e
commit a3e2157a36

36
.woodpecker.yml Normal file
View file

@ -0,0 +1,36 @@
when:
event: push
clone:
git:
image: woodpeckerci/plugin-git
settings:
attempts: 5
backoff: 10s
steps:
- name: build-and-push
image: woodpeckerci/plugin-docker-buildx
settings:
# Dual-push during the Forgejo registry consolidation bake. After
# ≥14 days clean, registry.viktorbarzin.me drops out (Phase 4).
# Upstream github.com/superthunder-afk/Freedify is gone (404) — we
# treat this directory as our own code now.
repo:
- registry.viktorbarzin.me/freedify
- forgejo.viktorbarzin.me/viktor/freedify
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: Dockerfile
context: .
auto_tag: true
platforms:
- linux/amd64