Sync paths with CI pipeline due to dockerignore#

As the docker ignore file includes the target dir, content in this dir
is no accessible to the docker daemon.
We circumvent this by providing the build artifact in a dir called
cached_dir
next
Valkum 2021-02-22 19:06:10 +01:00
parent fb9880fee9
commit aa7b6b6e09
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ ARG SCCACHE_ENDPOINT
ARG SCCACHE_S3_USE_SSL
COPY . .
RUN test -e target/release/conduit || cargo build --release --offline
RUN test -e cached_target/release/conduit || cargo build --release
FROM valkum/docker-rust-ci:latest
WORKDIR /workdir