forked from continuwuation/continuwuity
76 lines
1.8 KiB
YAML
76 lines
1.8 KiB
YAML
version: 1
|
|
|
|
x-source: &source forgejo.ellis.link/continuwuation/continuwuity
|
|
|
|
x-tags:
|
|
releases: &tags-releases
|
|
tags:
|
|
allow:
|
|
- "latest"
|
|
- "v[0-9]+\\.[0-9]+\\.[0-9]+(-[a-z0-9\\.]+)?"
|
|
- "v[0-9]+\\.[0-9]+"
|
|
- "v[0-9]+"
|
|
main: &tags-main
|
|
tags:
|
|
allow:
|
|
- "latest"
|
|
- "v[0-9]+\\.[0-9]+\\.[0-9]+(-[a-z0-9\\.]+)?"
|
|
- "v[0-9]+\\.[0-9]+"
|
|
- "v[0-9]+"
|
|
- "main"
|
|
commits: &tags-commits
|
|
tags:
|
|
allow:
|
|
- "latest"
|
|
- "v[0-9]+\\.[0-9]+\\.[0-9]+(-[a-z0-9\\.]+)?"
|
|
- "v[0-9]+\\.[0-9]+"
|
|
- "v[0-9]+"
|
|
- "main"
|
|
- "sha-[a-f0-9]+"
|
|
all: &tags-all
|
|
tags:
|
|
allow:
|
|
- ".*"
|
|
|
|
# Registry credentials
|
|
creds:
|
|
- registry: forgejo.ellis.link
|
|
user: "{{env \"BUILTIN_REGISTRY_USER\"}}"
|
|
pass: "{{env \"BUILTIN_REGISTRY_PASSWORD\"}}"
|
|
- registry: registry.gitlab.com
|
|
user: "{{env \"GITLAB_USERNAME\"}}"
|
|
pass: "{{env \"GITLAB_TOKEN\"}}"
|
|
- registry: git.nexy7574.co.uk
|
|
user: "{{env \"N7574_GIT_USERNAME\"}}"
|
|
pass: "{{env \"N7574_GIT_TOKEN\"}}"
|
|
- registry: ghcr.io
|
|
user: "{{env \"GH_PACKAGES_USER\"}}"
|
|
pass: "{{env \"GH_PACKAGES_TOKEN\"}}"
|
|
- registry: docker.io
|
|
user: "{{env \"DOCKER_MIRROR_USER\"}}"
|
|
pass: "{{env \"DOCKER_MIRROR_TOKEN\"}}"
|
|
|
|
# Global defaults
|
|
defaults:
|
|
parallel: 3
|
|
interval: 2h
|
|
digestTags: true
|
|
|
|
# Sync configuration - each registry gets different image sets
|
|
sync:
|
|
- source: *source
|
|
target: registry.gitlab.com/continuwuity/continuwuity
|
|
type: repository
|
|
<<: *tags-main
|
|
- source: *source
|
|
target: git.nexy7574.co.uk/mirrored/continuwuity
|
|
type: repository
|
|
<<: *tags-releases
|
|
- source: *source
|
|
target: ghcr.io/continuwuity/continuwuity
|
|
type: repository
|
|
<<: *tags-main
|
|
- source: *source
|
|
target: docker.io/jadedblueeyes/continuwuity
|
|
type: repository
|
|
<<: *tags-main
|