diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5e1f8da48..57de0d4f3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,7 @@ jobs: publish: name: Publish runs-on: ubuntu-latest - containers: kisiodigital/rust-ci:latest-proj + container: kisiodigital/rust-ci:latest-proj steps: - uses: actions/checkout@master - name: Cargo login diff --git a/Dockerfile b/Dockerfile index 0940ebd26..0d603ec0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ENV PATH "/root/.cargo/bin:$PATH" # build the project RUN cargo build --workspace --release -RUN mkdir /usr/src/bin && for file in ls ./target/release/*; do if test -f $file -a -x $file; then cp $file /usr/src/bin; fi; done +RUN mkdir /usr/src/bin && for file in ls ./target/release/*; do if test -f $file -a -x $file; then cp $file /usr/src/bin; fi; done FROM debian:stretch-slim ARG RUNTIME_DEPENDENCIES