Repository navigation
Expand file tree
/
Copy path.ko.yaml
More file actions
39 lines (35 loc) · 1.31 KB
/
Copy path.ko.yaml
File metadata and controls
39 lines (35 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# ko builds the two release images without Dockerfiles. release.yml builds the
# operator from ./cmd/operator and the agent from ./cmd/agent, each into its own
# repository, for linux/amd64 and linux/arm64.
# distroless static, nonroot, pinned by the digest of its multi-platform index.
# This is the same base image the Dockerfile uses, and the operator's. Update the
# digest on purpose, when you want a newer base.
defaultBaseImage: gcr.io/distroless/static:nonroot@sha256:25ac8f0c3b2334a9eb05452266bd4697864a8c8ef0ef71e5e6480d7f92868329
# The agent runs Git and ssh, so it has a base image that has them: Chainguard's
# git image, which runs as UID 65532 with a passwd entry. It is pinned by the
# digest of its multi-platform index, and hack/verify-agent-base.sh checks that
# Chainguard signed that digest. To update it, see docs/releasing.md.
baseImageOverrides:
github.com/mohanedmoh/treebind/cmd/agent: cgr.dev/chainguard/git@sha256:f5f91faa60ed1b69deab0546d2154d2150f5f9163843793e72d45c51ff27153e
defaultPlatforms:
- linux/amd64
- linux/arm64
builds:
- id: operator
main: ./cmd/operator
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s
- -w
- id: agent
main: ./cmd/agent
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s
- -w