Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustup stable, build from Dockerfile on the fly #1

Merged
merged 2 commits into from
Sep 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM clux/muslrust

RUN cargo install cargo-deb
RUN rustup update stable && rustup default stable && rustup target add x86_64-unknown-linux-musl && cargo install cargo-deb
jontow marked this conversation as resolved.
Show resolved Hide resolved

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ inputs:
default: 'cargo deb --target=x86_64-unknown-linux-musl'
runs:
using: 'docker'
image: 'docker://ebbflow/cargo-deb-amd64-ubuntu:1.0'
image: 'Dockerfile'
#image: 'docker://quay.io/team-helium/cargo-deb-amd64-ubuntu:1.1'
args:
- ${{ inputs.cmd }}