covid19-edmonton/.drone.yml
Steven Polley 65a7ac04f2
All checks were successful
continuous-integration/drone/push Build is passing
Add trusted certificates from build environment
2020-04-25 01:16:48 -06:00

28 lines
514 B
YAML

kind: pipeline
name: default
workspace:
base: /go
path: src/deadbeef.codes/steven/covid19-edmonton
steps:
- name: build server
image: golang
pull: always
environment:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 0
commands:
- go version
- go get
- go build -a -ldflags '-w'
- cp /usr/local/go/lib/time/zoneinfo.zip .
- cp /etc/ssl/certs/ca-certificates.crt .
- name: package in docker container
image: plugins/docker
settings:
repo: registry.deadbeef.codes/covid19-edmonton