ci: split build into build+deploy steps
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
* build with --no-cache of course
This commit is contained in:
parent
aa95981741
commit
6b52682f57
16
.drone.yml
16
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue