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

22 lines
385 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: docker:latest
commands:
- docker login -u $REGISTRY_USER -p $REGISTRY_PASSWD $REGISTRY
- docker build -t $REGISTRY/bin:latest . -f Dockerfile
- docker push $REGISTRY/bin:latest