Skip to content

Commit

Permalink
Merge pull request #749 from CanalTP/fix_publish
Browse files Browse the repository at this point in the history
[tech] fix publish script
  • Loading branch information
Pierre-Etienne Bougué authored Feb 26, 2021
2 parents a6db573 + 8a1c84c commit a7a052c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7a052c

Please sign in to comment.