wimi/.drone.yml
Jochen Maes 22ebeccb3b
Some checks reported errors
continuous-integration/drone/push Build encountered an error
damned x2!
Signed-off-by: Jochen Maes <jochen@sejo-it.be>
2023-10-24 10:21:37 +02:00

32 lines
699 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
- ls -al /var/run
volumes:
- name: dockersock
path: /var/run
- 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: /var/run/docker.sock