diff --git a/.woodpecker.yaml b/.woodpecker.yaml index d9da041..7379917 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -34,12 +34,23 @@ steps: # 💡 文档高级配置:通知内部 dockerd 引擎全面放开对不安全 HTTP 仓库的拦截 insecure: true # 💡 官方文档标准语法:改用新版 logins 数组来显式声明私服的登录凭证 - logins: - - registry: "http://push.lovestory.cyou" # 👈 显式加上 http://,强制按纯 HTTP 协议走 - username: - from_secret: nexus_docker_username - password: - from_secret: nexus_docker_password +# logins: +# - registry: "http://push.lovestory.cyou" # 👈 显式加上 http://,强制按纯 HTTP 协议走 +# username: +# from_secret: nexus_docker_username +# password: +# from_secret: nexus_docker_password +# registry: "http://push.lovestory.cyou" # 👈 显式加上 http://,强制按纯 HTTP 协议走 +# username: +# from_secret: nexus_docker_username +# password: +# from_secret: nexus_docker_password +# repo: ${APP_REGISTRY}/${PROJECT_NAME} + registry: ${APP_REGISTRY} + username: + from_secret: nexus_docker_username + password: + from_secret: nexus_docker_password when: event: push branch: master