增加debug信息
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
seahi 2025-04-15 15:59:02 +08:00
parent 35df05b963
commit cacd247fb4

View File

@ -6,6 +6,22 @@ node:
name: pve name: pve
steps: steps:
- name: Debug Harbor Login
image: alpine
commands:
- apk add --no-cache docker-cli # 安装 Docker CLI
- echo "Testing login"
- docker login harbor.seahi.me -u $$HARBOR_USERNAME -p $$HARBOR_PASSWORD
- echo "Testing push"
- docker build -f Dockerfile.normal -t harbor.seahi.me/stu/normal-exit:latest .
- docker push harbor.seahi.me/stu/normal-exit:latest
environment:
HARBOR_USERNAME:
from_secret: harbor_username
HARBOR_PASSWORD:
from_secret: harbor_password
failure: ignore # 继续执行,即使失败
- name: Build normal exit image - name: Build normal exit image
pull: always pull: always
image: plugins/docker image: plugins/docker