Skip to content

Commit

Permalink
ci: switch to ko to build multiarch images
Browse files Browse the repository at this point in the history
Signed-off-by: ankitm123 <[email protected]>
  • Loading branch information
ankitm123 committed Nov 9, 2022
1 parent b54fa32 commit 415f968
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .ko.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
defaultBaseImage: cgr.dev/chainguard/git:2.38.0@sha256:79aa1b7df6773d4722dca35908903cd86dacd5d4a10656017ce8c227d9c91db3
builds:
- id: foghorn
dir: . # default is .
main: cmd/foghorn
env:
- VERSION = 99.99.99
ldflags:
- -s
- -w
- -X
- github.com/jenkins-x/lighthouse/pkg/version.Version={{.Env.VERSION}}
- id: gc
dir: . # default is .
main: cmd/gc
env:
- VERSION = 99.99.99
ldflags:
- -s
- -w
- -X
- github.com/jenkins-x/lighthouse/pkg/version.Version={{.Env.VERSION}}
- id: keeper
dir: . # default is .
main: cmd/keeper
env:
- VERSION = 99.99.99
ldflags:
- -s
- -w
- -X
- github.com/jenkins-x/lighthouse/pkg/version.Version={{.Env.VERSION}}
- id: poller
dir: . # default is .
main: cmd/poller
env:
- VERSION = 99.99.99
ldflags:
- -s
- -w
- -X
- github.com/jenkins-x/lighthouse/pkg/version.Version={{.Env.VERSION}}
- id: tekton-controller
dir: . # default is .
main: cmd/tektoncontroller
env:
- VERSION = 99.99.99
ldflags:
- -s
- -w
- -X
- github.com/jenkins-x/lighthouse/pkg/version.Version={{.Env.VERSION}}
- id: webhooks
dir: . # default is .
main: cmd/webhooks
env:
- VERSION = 99.99.99
ldflags:
- -s
- -w
- -X
- github.com/jenkins-x/lighthouse/pkg/version.Version={{.Env.VERSION}}

0 comments on commit 415f968

Please sign in to comment.