init
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Paul Zinselmeyer 2023-06-16 16:15:39 +02:00
commit 569c725250
2 changed files with 30 additions and 0 deletions

23
.drone.yml Normal file
View File

@ -0,0 +1,23 @@
kind: pipeline
type: docker
name: docker-rust-trunk
trigger:
event:
- push
steps:
- name: pack
when:
branch:
- master
image: plugins/docker
settings:
repo: git2.zettoit.eu/pfz4/docker-rust-trunk
username: droneci
password:
from_secret: REGISTRY_PASSWD
registry: git2.zettoit.eu
tags:
- latest
- master

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM rust:slim
RUN apt update && apt install cmake protobuf-compiler -y
RUN rustup toolchain install nightly
RUN cargo install trunk
RUN rustup default nightly
RUN rustup component add rustfmt
RUN rustup target add wasm32-unknown-unknown