更新 .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
admin 2025-05-09 01:58:45 +00:00
parent ff0a357f8a
commit 79695a6bce

View File

@ -13,15 +13,16 @@ steps:
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:latest image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:latest
commands: commands:
- git clone -b main http://root:rootroot@115.190.73.171:3000/admin/test.git - git clone -b main http://root:rootroot@115.190.73.171:3000/admin/test.git
- sleep 5m - sleep 1m
- name: build - name: build
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.17 image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.17
commands: commands:
- cd $DRONE_WORKSPACE - cd $DRONE_WORKSPACE
- ls -la /drone/src/ - ls -la /drone/src/
- ls -la /drone/src/${DRONE_BUILD_NUMBER}
- cat /drone/src/.drone.yml - cat /drone/src/.drone.yml
- sleep 5m - sleep 1m
node: node:
app: build app: build