Try using ko to build images
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
1a13292c2d
commit
1efcb88261
6 changed files with 166 additions and 11 deletions
13
.ko.yaml
Normal file
13
.ko.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
defaultBaseImage: cgr.dev/chainguard/static
|
||||
defaultPlatforms:
|
||||
- linux/arm64
|
||||
- linux/amd64
|
||||
- linux/arm/v7
|
||||
|
||||
builds:
|
||||
- id: anubis
|
||||
main: ./cmd/anubis
|
||||
ldflags:
|
||||
- -s -w
|
||||
- -extldflags "-static"
|
||||
- -X github.com/TecharoHQ/anubis.Version={{.Env.VERSION}}
|
Loading…
Add table
Add a link
Reference in a new issue