diff --git a/.woodpecker/rust.yml b/.woodpecker/rust.yml new file mode 100644 index 0000000..9a602f3 --- /dev/null +++ b/.woodpecker/rust.yml @@ -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/* diff --git a/rust/Dockerfile b/rust/Dockerfile new file mode 100644 index 0000000..3b46b4c --- /dev/null +++ b/rust/Dockerfile @@ -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