28 lines
403 B
YAML
28 lines
403 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: bin
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
- name: build
|
|
image: rust:slim
|
|
commands:
|
|
- cargo build --release
|
|
|
|
- name: pack
|
|
when:
|
|
branch:
|
|
- master
|
|
image: plugins/docker
|
|
settings:
|
|
repo: git2.zettoit.eu/zettoit/bin
|
|
username: droneci
|
|
password:
|
|
from_secret: REGISTRY_PASSWD
|
|
registry: git2.zettoit.eu
|
|
tags:
|
|
- latest
|
|
- master
|