drone ci
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Paul Zinselmeyer 2023-06-10 16:29:48 +02:00
parent 0f5f4e7f8c
commit 74e6cc2080
Signed by: pfzetto
GPG key ID: 4EEF46A5B276E648

22
.drone.yml Normal file
View file

@ -0,0 +1,22 @@
kind: pipeline
type: kubernetes
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 gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE/master . -f Dockerfile
- docker push $CI_REGISTRY_IMAGE/master