2023-11-12 19:04:22 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
base: /go
|
2024-06-28 17:59:31 +00:00
|
|
|
path: src/code.stevenpolley.net/steven/ynab-portfolio-monitor
|
2023-11-12 19:04:22 +00:00
|
|
|
|
|
|
|
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'
|
2023-11-13 23:18:48 +00:00
|
|
|
- cp /usr/local/go/lib/time/zoneinfo.zip .
|
2023-11-12 19:04:22 +00:00
|
|
|
- cp /etc/ssl/certs/ca-certificates.crt .
|
|
|
|
|
|
|
|
- name: package in docker container
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2024-06-28 17:59:31 +00:00
|
|
|
repo: registry.stevenpolley.net/ynab-portfolio-monitor
|