chore(ci): add own registry to buildx config
This commit is contained in:
parent
6e1c5987e3
commit
ecea475137
1 changed files with 21 additions and 11 deletions
|
@ -1,12 +1,25 @@
|
||||||
steps:
|
variables:
|
||||||
- name: docker
|
- publish_mirror: &publish_mirror
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
from_secret: DOCKER_MIRROR_URL
|
||||||
settings:
|
- publish_logins: &publish_logins
|
||||||
registry: git.ar21.de
|
- registry:
|
||||||
|
from_secret: DOCKER_MIRROR_URL
|
||||||
|
username:
|
||||||
|
from_secret: DOCKER_MIRROR_USER
|
||||||
|
password:
|
||||||
|
from_secret: DOCKER_MIRROR_PASS
|
||||||
|
- registry: git.ar21.de
|
||||||
username:
|
username:
|
||||||
from_secret: REGISTRY_USER
|
from_secret: REGISTRY_USER
|
||||||
password:
|
password:
|
||||||
from_secret: REGISTRY_PASS
|
from_secret: REGISTRY_PASS
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
mirror: *publish_mirror
|
||||||
|
logins: *publish_logins
|
||||||
repo: git.ar21.de/yolokube/dashboard
|
repo: git.ar21.de/yolokube/dashboard
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
|
@ -17,11 +30,8 @@ steps:
|
||||||
- name: docker-staging
|
- name: docker-staging
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
registry: git.ar21.de
|
mirror: *publish_mirror
|
||||||
username:
|
logins: *publish_logins
|
||||||
from_secret: REGISTRY_USER
|
|
||||||
password:
|
|
||||||
from_secret: REGISTRY_PASS
|
|
||||||
repo: git.ar21.de/yolokube/dashboard
|
repo: git.ar21.de/yolokube/dashboard
|
||||||
tags:
|
tags:
|
||||||
- staging
|
- staging
|
||||||
|
|
Loading…
Add table
Reference in a new issue