fix: YML
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
fd1d000680
commit
c9385ef51e
42
.drone.yml
42
.drone.yml
|
@ -3,8 +3,8 @@ type: docker # 当前管道的类型
|
||||||
name: test # 当前管道的名称
|
name: test # 当前管道的名称
|
||||||
|
|
||||||
# ****************** 直接丢掉 默认会直接拉代码 ******************
|
# ****************** 直接丢掉 默认会直接拉代码 ******************
|
||||||
clone:
|
#clone:
|
||||||
disable: true #禁用默认克隆
|
# disable: true #禁用默认克隆
|
||||||
|
|
||||||
steps: # 定义管道的执行步骤
|
steps: # 定义管道的执行步骤
|
||||||
# - name: clone-test
|
# - name: clone-test
|
||||||
|
@ -16,25 +16,25 @@ steps: # 定义管道的执行步骤
|
||||||
# - ls -a
|
# - ls -a
|
||||||
# ****************** 直接丢掉 默认会直接拉代码 ******************
|
# ****************** 直接丢掉 默认会直接拉代码 ******************
|
||||||
|
|
||||||
# - name: build # 步骤名称
|
- name: build # 步骤名称
|
||||||
# image: gong921123/debian-nginx-php114-74:latest # 当前步骤使用的镜像 image: composer:latest 这里还是使用自己的环境 否则可能一些依赖版本问题会出现
|
image: gong921123/debian-nginx-php114-74:latest # 当前步骤使用的镜像 image: composer:latest 这里还是使用自己的环境 否则可能一些依赖版本问题会出现,这里的composer是 2.5.4 版本
|
||||||
# commands: # 当前步骤执行的命令
|
commands: # 当前步骤执行的命令
|
||||||
# - composer -v
|
- composer -v
|
||||||
# - ls -a
|
- ls -a
|
||||||
# - composer install -v
|
- composer install -v
|
||||||
# - ls -a
|
- ls -a
|
||||||
# - name: deploy-push-images
|
- name: deploy-push-images
|
||||||
# image: plugins/docker
|
image: plugins/docker
|
||||||
# settings:
|
settings:
|
||||||
# repo: gong921123/hyperf # 推送到dockerhub仓库去
|
repo: gong921123/hyperf # 推送到dockerhub仓库去
|
||||||
# registry: docker.io
|
registry: docker.io
|
||||||
# insecure: true # 不使用https
|
insecure: true # 不使用https
|
||||||
# username:
|
username:
|
||||||
# from_secret: docker_username
|
from_secret: docker_username
|
||||||
# password:
|
password:
|
||||||
# from_secret: docker_password
|
from_secret: docker_password
|
||||||
# dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
# tags: latest
|
tags: latest
|
||||||
|
|
||||||
- name: pull_image
|
- name: pull_image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
|
Loading…
Reference in New Issue