All checks were successful
continuous-integration/drone/tag Build is passing
Signed-off-by: Jochen Maes <jochen@sejo-it.be>
36 lines
775 B
YAML
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 |