fix: YML
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
abdeab73f5
commit
30f20060dc
34
.drone.yml
34
.drone.yml
|
@ -12,28 +12,28 @@ steps: # 定义管道的执行步骤
|
|||
# - git version
|
||||
# - pwd
|
||||
# - ls -a
|
||||
# - name: build # 步骤名称
|
||||
# image: gong921123/debian-nginx-php114-74:latest # 当前步骤使用的镜像 image: composer:latest 这里还是使用自己的环境 否则可能一些依赖版本问题会出现
|
||||
# commands: # 当前步骤执行的命令
|
||||
# - composer -v
|
||||
# - ls -a
|
||||
- name: build # 步骤名称
|
||||
image: gong921123/debian-nginx-php114-74:latest # 当前步骤使用的镜像 image: composer:latest 这里还是使用自己的环境 否则可能一些依赖版本问题会出现
|
||||
commands: # 当前步骤执行的命令
|
||||
- composer -v
|
||||
- ls -a
|
||||
# - cd hyperf
|
||||
# - composer install -v
|
||||
# - ls -a
|
||||
- name: deploy-push-images
|
||||
image: plugins/docker
|
||||
# commands:
|
||||
# - ls -a
|
||||
settings:
|
||||
repo: gong921123/hyperf # 推送到dockerhub仓库去
|
||||
registry: docker.io
|
||||
insecure: true # 不使用https
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
dockerfile: hyperf/docker/Dockerfile
|
||||
tags: latest
|
||||
commands:
|
||||
- ls -a
|
||||
# settings:
|
||||
# repo: gong921123/hyperf # 推送到dockerhub仓库去
|
||||
# registry: docker.io
|
||||
# insecure: true # 不使用https
|
||||
# username:
|
||||
# from_secret: docker_username
|
||||
# password:
|
||||
# from_secret: docker_password
|
||||
# dockerfile: hyperf/docker/Dockerfile
|
||||
# tags: latest
|
||||
|
||||
# - name: pull_image
|
||||
# image: plugins/docker
|
||||
|
|
Loading…
Reference in New Issue