parent
f134d1a856
commit
58c74ef6e5
31
.drone.yml
31
.drone.yml
|
@ -23,24 +23,23 @@ steps: # 定义管道的执行步骤
|
|||
commands: # 当前步骤执行的命令
|
||||
# - composer -v
|
||||
- ls -a
|
||||
- ls -a
|
||||
# - composer install -v
|
||||
|
||||
# - name: deploy-push-images
|
||||
# depends_on: # 依赖build管道
|
||||
# - build
|
||||
# image: plugins/docker
|
||||
# pull: if-not-exists
|
||||
# settings:
|
||||
# repo: gong921123/hyperf2 # 推送到dockerhub仓库去
|
||||
# registry: docker.io
|
||||
# insecure: true # 不使用https
|
||||
# username:
|
||||
# from_secret: docker_username
|
||||
# password:
|
||||
# from_secret: docker_password
|
||||
# dockerfile: docker/Dockerfile
|
||||
# tags: ${DRONE_TAG}
|
||||
- name: deploy-push-images
|
||||
depends_on: # 依赖build管道
|
||||
- build
|
||||
image: plugins/docker
|
||||
pull: if-not-exists
|
||||
settings:
|
||||
repo: gong921123/hyperf2 # 推送到dockerhub仓库去
|
||||
registry: docker.io
|
||||
insecure: true # 不使用https
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
dockerfile: docker/Dockerfile
|
||||
tags: ${DRONE_TAG}
|
||||
|
||||
# - name: deploy-pull-project
|
||||
# depends_on:
|
||||
|
|
Loading…
Reference in New Issue