This commit is contained in:
parent
19c710d550
commit
54cfdbc4c0
|
|
@ -24,18 +24,25 @@ steps:
|
||||||
|
|
||||||
- name: 官方标准构建与推送 (宿主机物理硬缓存版)
|
- name: 官方标准构建与推送 (宿主机物理硬缓存版)
|
||||||
image: woodpeckerci/plugin-docker-buildx:latest-insecure
|
image: woodpeckerci/plugin-docker-buildx:latest-insecure
|
||||||
privileged: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
settings:
|
settings:
|
||||||
repo: push.lovestory.cyou/abhors/demo
|
repo: push.lovestory.cyou/abhors/demo
|
||||||
registry: push.lovestory.cyou
|
registry: push.lovestory.cyou
|
||||||
insecure: true
|
|
||||||
username:
|
username:
|
||||||
from_secret: nexus_docker_username
|
from_secret: nexus_docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: nexus_docker_password
|
from_secret: nexus_docker_password
|
||||||
mirror: http://registry.lovestory.cyou
|
mirror: http://registry.lovestory.cyou
|
||||||
|
buildkit_config: |
|
||||||
|
[registry."docker.io"]
|
||||||
|
mirrors = ["docker.1ms.run", "dockerpull.org", "1ms.run"]
|
||||||
|
[registry."push.lovestory.cyou"]
|
||||||
|
http = true
|
||||||
|
insecure = true
|
||||||
|
[registry."registry.lovestory.cyou"]
|
||||||
|
http = true
|
||||||
|
insecure = true
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: master
|
branch: master
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue