ci: split build into build+deploy steps
All checks were successful
continuous-integration/drone/push Build is passing

* build with --no-cache of course
This commit is contained in:
surtur 2021-03-09 10:01:23 +01:00
parent aa95981741
commit 6b52682f57
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -194,7 +194,21 @@ steps:
- name: s
path: /var/run/docker.sock
commands:
- docker-compose up --build -d --remove-orphans --scale homepage=4
- docker-compose build --no-cache
when:
branch: master
status: success
- name: deploy
pull: always
image: tmaier/docker-compose:latest
depends_on:
- build
volumes:
- name: s
path: /var/run/docker.sock
commands:
- docker-compose up -d --remove-orphans --scale homepage=4
when:
branch: master
status: success