fix: YML
continuous-integration/drone/push Build is failing Details

develop
Gong 2023-08-28 17:26:57 +08:00
parent a6a518b015
commit bd8328ef21
1 changed files with 5 additions and 2 deletions

View File

@ -3,8 +3,8 @@ type: docker # 当前管道的类型
name: test # 当前管道的名称 name: test # 当前管道的名称
# ****************** 直接丢掉 默认会直接拉代码 ****************** # ****************** 直接丢掉 默认会直接拉代码 ******************
#clone: clone:
# disable: true #禁用默认克隆 disable: true #禁用默认克隆
steps: # 定义管道的执行步骤 steps: # 定义管道的执行步骤
# - name: clone-test # - name: clone-test
@ -45,10 +45,13 @@ steps: # 定义管道的执行步骤
from_secret: docker_password from_secret: docker_password
commands: commands:
- docker pull gong921123/hyperf:latest - docker pull gong921123/hyperf:latest
- name: start_container - name: start_container
image: docker image: docker
commands: commands:
- ls -a
- docker-compose up -d - docker-compose up -d
- name: run_hyperf - name: run_hyperf
image: docker image: docker
commands: commands: