[bootstrap] github action

This commit is contained in:
Stefan Ruzitschka
2019-01-25 23:47:25 +01:00
commit 05fff76875
5 changed files with 61 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM rust:1.32.0
LABEL "com.github.actions.name"="Rust Action"
LABEL "com.github.actions.description"="'Silverbullet' for a quickstart Rust CI based upon Github Actions"
LABEL "com.github.actions.icon"="play-circle"
LABEL "com.github.actions.color"="gray-dark"
RUN rustup component add clippy-preview
RUN rustup component add rustfmt-preview
RUN cargo install cargo-release
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]