forked from arriven/db1000n
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ko.yaml
More file actions
17 lines (17 loc) · 680 Bytes
/
Copy path.ko.yaml
File metadata and controls
17 lines (17 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
defaultBaseImage: gcr.io/distroless/static
builds:
- id: db1000n
dir: .
main: .
env:
- CGO_ENABLED=0
flags:
- -tags=encrypted
ldflags:
- -s -w
- -extldflags "-static"
- -X github.com/Arriven/db1000n/src/utils/ota.Version={{- .Env.VERSION }}
- -X github.com/Arriven/db1000n/src/utils.EncryptionKeys={{- .Env.ENCRYPTION_KEYS }}
- -X github.com/Arriven/db1000n/src/job/config.DefaultConfig={{- .Env.DEFAULT_CONFIG_VALUE }}
- -X github.com/Arriven/db1000n/src/utils/metrics.PushGatewayCA={{- .Env.CA_PATH_VALUE }}
- -X github.com/Arriven/db1000n/src/utils/metrics.BasicAuth={{- .Env.PROMETHEUS_BASIC_AUTH }}