Update ci
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Dominic Grimm 2022-02-18 20:49:38 +01:00
parent b9ead86903
commit cfd7c8365a

View file

@ -66,14 +66,6 @@ steps:
image: boechat107/pgsanity
commands:
- pgsanity docker/backend/db/**/*.sql
- name: deps
image: crystallang/crystal:1.3-alpine
volumes:
- name: lib
path: /drone/src/docker/backend/lib
commands:
- cd docker/backend
- shards install
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
@ -82,7 +74,18 @@ steps:
settings:
restore: true
mount:
- ./docker/backend/lib
- ./docker/backend/docs
- name: deps
image: crystallang/crystal:1.3-alpine
volumes:
- name: lib
path: /drone/src/docker/backend/lib
commands:
- cd docker/backend
- shards install
depends_on:
- restore-cache
- name: docs
image: crystallang/crystal:1.3-alpine
volumes:
@ -107,6 +110,7 @@ steps:
mount:
- ./docker/backend/docs
depends_on:
- deps
- docs
- name: build
image: tmaier/docker-compose