iwilldie/.drone.yml
Janic Voser 83bce6e16c
Some checks failed
continuous-integration/drone/push Build is failing
Switch to docker pipeline, there is no kubernetes runner currently
2023-03-10 22:40:31 +01:00

34 lines
403 B
YAML

kind: pipeline
type: docker
name: default
trigger:
branch:
- main
steps:
- name: Go Tests
image: golang
volumes:
- name: deps
path: /go
commands:
- cd src
- go test
- name: build
image: golang
volumes:
- name: deps
path: /go
- name: bin
path: /binaries
commands:
- cd src
- go build -o /binaries/app
volumes:
- name: deps
temp: {}
- name: bin
temp: {}