14 lines
430 B
YAML
14 lines
430 B
YAML
# ko (https://ko.build) build configuration for the redapricot Go client.
|
|
# ko builds the container image directly from Go source — no Dockerfile needed.
|
|
# The registry is supplied via the KO_DOCKER_REPO env var (see the workflow).
|
|
defaultBaseImage: cgr.dev/chainguard/static:latest
|
|
builds:
|
|
- id: redapricot-client
|
|
dir: .
|
|
main: ./cmd/redapricot-client
|
|
env:
|
|
- CGO_ENABLED=0
|
|
ldflags:
|
|
- -s
|
|
- -w
|