|
|
@ -27,9 +27,6 @@ steps: |
|
|
|
#settings: |
|
|
|
#settings: |
|
|
|
# dockerfile: /mnt/app/build/Dockerfile |
|
|
|
# dockerfile: /mnt/app/build/Dockerfile |
|
|
|
commands: # 定义在Docker容器中执行的shell命令 |
|
|
|
commands: # 定义在Docker容器中执行的shell命令 |
|
|
|
- curl -L "https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |
|
|
|
|
|
|
|
- chmod +x /usr/local/bin/docker-compose |
|
|
|
|
|
|
|
- ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose |
|
|
|
|
|
|
|
- cd /mnt/app/build/docker |
|
|
|
- cd /mnt/app/build/docker |
|
|
|
- chmod +x deploy.sh |
|
|
|
- chmod +x deploy.sh |
|
|
|
- sh deploy.sh stop |
|
|
|
- sh deploy.sh stop |
|
|
|