diff --git a/.drone.yml b/.drone.yml index 10e16a3..0b91517 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,8 +3,8 @@ type: docker name: default steps: - # 新增执行shell脚本的步骤 - name: run-hello-script + image: docker.1ms.run/alpine:latest # 必须指定基础镜像(如alpine/bash) commands: - - chmod +x hello.sh # 添加执行权限 - - ./hello.sh # 执行脚本 \ No newline at end of file + - chmod +x hello.sh + - ./hello.sh