diff options
author | Cara Salter <cara@devcara.com> | 2022-02-14 11:11:28 -0500 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-02-14 11:28:12 -0500 |
commit | e9543136f018d52b3dc4abb93412d07bfc4dc8c7 (patch) | |
tree | 725d1c79824c14f8488333094cbc0ba22ac1ece0 | |
parent | eee73de9008d5bb12e0d0994a4bc3c1247b52520 (diff) | |
download | glitch-ng-e9543136f018d52b3dc4abb93412d07bfc4dc8c7.tar.gz glitch-ng-e9543136f018d52b3dc4abb93412d07bfc4dc8c7.zip |
Update docker image
-rw-r--r-- | .drone.yml | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -4,7 +4,14 @@ name: default steps: - name: build - image: rust:slim + image: rust:latest commands: + - apt update + - apt install postgresql -y + - pg_ctlcluster 13 main start + - cargo install sqlx-cli + - cargo sqlx migrate run - cargo check - cargo fmt -- --check + environment: + DATABASE_URL: postgres://postgres@localhost/campmaster |