Add rust
All checks were successful
ci/woodpecker/push/rsync Pipeline was successful
ci/woodpecker/push/rust Pipeline was successful

This commit is contained in:
Kaan Barmore-Genç 2022-11-25 00:39:35 -05:00
parent dbb0c34f73
commit b3804b481d
Signed by: kaan
GPG key ID: B2E280771CD62FCF
2 changed files with 21 additions and 0 deletions

11
.woodpecker/rust.yml Normal file
View file

@ -0,0 +1,11 @@
pipeline:
build:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: seriousbug/rust
dockerfile: rsync/Dockerfile
platforms: linux/amd64
tag: latest
when:
path: rust/*

10
rust/Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM alpine:latest
LABEL org.opencontainers.image.authors="kaan@bgenc.net"
RUN apk add --no-cache rustup \
&& rustup-init -y
ENV PATH=/root/.cargo/bin:$PATH
RUN rustup component add llvm-tools-preview