2023-06-04 05:07:55 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
base: /go
|
|
|
|
path: src/deadbeef.codes/steven/lineageos-ota-server
|
|
|
|
|
|
|
|
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'
|
|
|
|
|
|
|
|
- name: package in docker container
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2023-06-04 05:13:51 +00:00
|
|
|
repo: registry.deadbeef.codes/lineageos-ota-server
|