This commit is contained in:
gxl 2026-06-03 20:15:40 +08:00
parent a5689c49d0
commit ab4c54278c
1 changed files with 1 additions and 12 deletions

View File

@ -26,25 +26,14 @@ steps:
image: woodpeckerci/plugin-docker-buildx:latest-insecure
volumes:
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
settings:
insecure: true
repo: push.lovestory.cyou/abhors/demo
registry: push.lovestory.cyou
username:
from_secret: nexus_docker_username
password:
from_secret: nexus_docker_password
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
mirror: https://registry.lovestory.cyou
when:
event: push
branch: master