bin/.drone.yml
Paul Z 3028992285
Some checks failed
continuous-integration/drone/push Build is failing
drone ci
2023-06-10 17:15:46 +02:00

28 lines
447 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
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