parent
9ef2eaba9a
commit
37813342b4
|
@ -19,6 +19,7 @@ steps: # 定义管道的执行步骤
|
|||
|
||||
- name: build # 步骤名称
|
||||
image: gong921123/debian-nginx-php114-74:latest # 当前步骤使用的镜像 image: composer:latest 这里还是使用自己的环境 否则可能一些依赖版本问题会出现,这里的composer是 2.5.4 版本
|
||||
pull: if-not-exists
|
||||
commands: # 当前步骤执行的命令
|
||||
# - composer -v
|
||||
- ls -a
|
||||
|
@ -29,6 +30,7 @@ steps: # 定义管道的执行步骤
|
|||
# depends_on: # 依赖build管道
|
||||
# - build
|
||||
# image: plugins/docker
|
||||
# pull: if-not-exists
|
||||
# settings:
|
||||
# repo: gong921123/hyperf2 # 推送到dockerhub仓库去
|
||||
# registry: docker.io
|
||||
|
@ -44,6 +46,7 @@ steps: # 定义管道的执行步骤
|
|||
# depends_on:
|
||||
# - deploy-push-images
|
||||
# image: appleboy/drone-ssh
|
||||
# pull: if-not-exists
|
||||
# settings:
|
||||
# host: gong.cool
|
||||
# user:
|
||||
|
@ -64,4 +67,4 @@ trigger: # 触发条件,并关系
|
|||
branch: # git 分支
|
||||
- develop
|
||||
event: # 事件
|
||||
- tag
|
||||
- promote
|
||||
|
|
Loading…
Reference in New Issue