wimi/.drone.yml
Jochen Maes 09b1b01fc8
All checks were successful
continuous-integration/drone/tag Build is passing
new release
Signed-off-by: Jochen Maes <jochen@sejo-it.be>
2023-10-24 12:55:36 +02:00

36 lines
775 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 --bins -r
- 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: gitea.sejo-it.be/sejo-it/wimi
tags:
- latest
- ${DRONE_TAG##v}
volumes:
- name: dockersock
path: /run/docker.sock
trigger:
event:
- tag