sqlx: add default source to image again
All checks were successful
Publish SQLx container / publish (push) Successful in 20s

This commit is contained in:
Adrian Wannenmacher 2023-12-12 00:58:50 +01:00
parent 289814b646
commit 928c8abe79
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

View File

@ -10,4 +10,5 @@ RUN cargo install sqlx-cli \
FROM alpine FROM alpine
COPY --from=build /usr/local/cargo/bin/sqlx /usr/local/bin/sqlx COPY --from=build /usr/local/cargo/bin/sqlx /usr/local/bin/sqlx
ENV MIGRATIONS=/migrations
CMD sqlx migrate run --source $MIGRATIONS CMD sqlx migrate run --source $MIGRATIONS