Migrate CI to GitHub Actions (#171)

This commit is contained in:
Adrian Macneil 2020-11-02 20:22:59 +13:00 committed by GitHub
parent 2950db7131
commit e44e09eb67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 91 additions and 51 deletions

View file

@ -1,9 +1,11 @@
version: '2.3'
services:
dbmate:
dev:
build:
context: .
target: build
target: dev
volumes:
- .:/src
depends_on:
- mysql
- postgres
@ -13,6 +15,11 @@ services:
POSTGRESQL_URL: postgres://postgres:postgres@postgres/dbmate?sslmode=disable
CLICKHOUSE_URL: clickhouse://clickhouse:9000?database=dbmate
dbmate:
build:
context: .
target: release
mysql:
image: mysql:5.7
environment: