From 58c74ef6e559d943991fa5418198a3d5b3c93eff Mon Sep 17 00:00:00 2001 From: Gong <534592533@qq.com> Date: Wed, 30 Aug 2023 14:28:51 +0800 Subject: [PATCH] fix: yml46 --- .drone.yml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.drone.yml b/.drone.yml index a4c5348..04aeebc 100755 --- a/.drone.yml +++ b/.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: