fix: qw2
continuous-integration/drone/tag Build is passing Details

develop 01
Unshift 2025-09-26 10:01:35 +08:00
parent 4538dfb0ee
commit f804ef16f0
2 changed files with 1 additions and 5 deletions

View File

@ -48,10 +48,6 @@ steps:
script:
- echo ====开始部署=======
- docker pull registry.cn-shanghai.aliyuncs.com/gong92-socl/debian-nginx-php114-74:${DRONE_TAG}
- docker stop $(docker ps | grep debian-nginx-php114-74 | awk '{print $1}')
- docker rm $(docker ps | grep debian-nginx-php114-74 | awk '{print $1}')
- docker rmi $(docker images | grep gong92-socl/debian-nginx-php114-74 | awk '{print $3}')
- docker rmi $(docker images | grep "<none>" | awk '{print $3}')
- docker run -itd --name hyperf -p 8001:8001
- -v /var/projects:/var/www
- -v /usr/local/docker/vloumn_nginx:/etc/nginx/conf.d

View File

@ -13,7 +13,7 @@ steps: # 定义管道的执行步骤
- pwd
- ls -a
- name: build # 步骤名称
image: gong921123/debian-nginx-php114-74:latest # 当前步骤使用的镜像 image: docker/compose
image: gong921123/debian-nginx-php114-74:latest # 当前步骤使用的镜像 image: docker/compose 预先下载
commands: # 当前步骤执行的命令
- composer -v
- ls -a