Add Woodpecker dual-push pipeline
This commit is contained in:
parent
c803de020e
commit
a3e2157a36
1 changed files with 36 additions and 0 deletions
36
.woodpecker.yml
Normal file
36
.woodpecker.yml
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue