ynab-portfolio-monitor/.drone.yml
Steven Polley f3a7df7de9
All checks were successful
continuous-integration/drone/push Build is passing
copy timezone database from build environment
2023-11-13 16:18:48 -07:00

28 lines
526 B
YAML

kind: pipeline
name: default
workspace:
base: /go
path: src/deadbeef.codes/steven/ynab-portfolio-monitor
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/ynab-portfolio-monitor