ci: 新增运行 hello.sh脚本的步骤
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
- 在 .drone.yml 文件中添加了新的步骤 run-hello-script - 使用 docker.1ms.run/alpine:latest 作为基础镜像- 通过 chmod +x hello.sh 为脚本添加执行权限- 执行 hello.sh 脚本
This commit is contained in:
parent
ab29891c00
commit
27755e0452
|
|
@ -4,7 +4,6 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: run-hello-script
|
- name: run-hello-script
|
||||||
image: docker.1ms.run/alpine:latest # 必须指定基础镜像(如alpine/bash)
|
|
||||||
commands:
|
commands:
|
||||||
- chmod +x hello.sh
|
- chmod +x hello.sh
|
||||||
- ./hello.sh
|
- ./hello.sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue