change dockerfile; add gzip caching

This commit is contained in:
Alex 2021-02-10 12:53:00 +01:00
parent 75d96bdc58
commit 24766a0eb9
2 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,7 @@ steps:
pull: true pull: true
settings: settings:
restore: true restore: true
archive_format: "gzip"
bucket: drone-cache bucket: drone-cache
region: garage region: garage
mount: mount:
@ -36,6 +37,7 @@ steps:
pull: true pull: true
settings: settings:
rebuild: true rebuild: true
archive_format: "gzip"
bucket: drone-cache bucket: drone-cache
region: garage region: garage
mount: mount:

View file

@ -3,7 +3,7 @@ FROM archlinux:latest
RUN mkdir -p /garage/meta RUN mkdir -p /garage/meta
RUN mkdir -p /garage/data RUN mkdir -p /garage/data
ENV RUST_BACKTRACE=1 ENV RUST_BACKTRACE=1
ENV RUST_LOG=garage=debug ENV RUST_LOG=garage=info
COPY target/release/garage.stripped /garage/garage COPY target/release/garage.stripped /garage/garage