wimi/.drone.yml
Jochen Maes e58a04248a
Some checks failed
continuous-integration/drone/push Build is failing
check the paths
Signed-off-by: Jochen Maes <jochen@sejo-it.be>
2023-10-24 10:52:26 +02:00

32 lines
694 B
YAML

kind: pipeline
type: docker
name: "Wimi builder"
platform:
arch: arm64
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
steps:
- name: build
image: rust:1.73
commands:
- rustup target add aarch64-unknown-linux-musl
- cargo build --target aarch64-unknown-linux-musl
- find .
volumes:
- name: dockersock
path: /run/docker.sock
- name: publish image
image: plugins/docker
settings:
username: builder
password:
from_secret: builder_password
registry: gitea.sejo-it.be
repo: SeJo-IT/wimi
tags:
- latest
volumes:
- name: dockersock
path: /run/docker.sock