Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: switch to ko to build multiarch images #1513

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}}