bin/.drone.yml

29 lines
447 B
YAML
Raw Normal View History

2023-06-10 16:29:48 +02:00
kind: pipeline
2023-06-10 16:39:30 +02:00
type: docker
2023-06-10 16:29:48 +02:00
name: bin
trigger:
event:
- push
steps:
- name: build
image: rust:slim
commands:
- cargo build --release
- name: pack
when:
branch:
- master
2023-06-10 17:15:46 +02:00
image: plugins/docker
volumes:
- name: dockersock
path: "/var/run/docker.sock"
settings:
username: droneci
password:
from_secret: REGISTRY_PASSWD
repo: git2.zettoit.eu/zettoit/bin
tags: latest
dockerfile: ./Dockerfile