Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 900cb16

Browse files
committedNov 9, 2022
ci: switch to ko to build multiarch images
Signed-off-by: ankitm123 <ankitmohapatra123@gmail.com>
1 parent b54fa32 commit 900cb16

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
 

‎.ko.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
defaultBaseImage: cgr.dev/chainguard/git:2.38.0@sha256:79aa1b7df6773d4722dca35908903cd86dacd5d4a10656017ce8c227d9c91db3
2+
builds:
3+
- id: lighthouse-webhooks
4+
dir: . # default is .
5+
main: cmd/webhooks
6+
env:
7+
- VERSION = 99.99.99
8+
ldflags:
9+
- -s
10+
- -w
11+
- -X
12+
- github.com/jenkins-x/lighthouse/pkg/version.Version={{.Env.VERSION}}

0 commit comments

Comments
 (0)
Please sign in to comment.