diff options
author | Valkum <rudi.floren@gmail.com> | 2021-02-22 19:06:10 +0100 |
---|---|---|
committer | Valkum <rudi.floren@gmail.com> | 2021-02-22 19:07:39 +0100 |
commit | aa7b6b6e09ee2ea4af0fb5b6a5b7e0fd51ddd11b (patch) | |
tree | cf7ace582a0d04602bdc56a2ac939300a37cb6df | |
parent | fb9880fee935fb94d128ff1b73b332aedcbf7347 (diff) | |
download | conduit-aa7b6b6e09ee2ea4af0fb5b6a5b7e0fd51ddd11b.zip |
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
-rw-r--r-- | tests/Complement.Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Complement.Dockerfile b/tests/Complement.Dockerfile index 24ee9ea..370db7c 100644 --- a/tests/Complement.Dockerfile +++ b/tests/Complement.Dockerfile @@ -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 |