mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
6055713dfc
This updates Makefile targets to build images using `docker buildx build` to use `ko build` instead. End-to-end tests are accomplished by building and loading the image directly into the KinD cluster via ko. Also: - use GitHub Actions token to push to ghcr.io (setup-ko sets this up for us) - allow forks to push to their forked repo's packages (useful for testing) Signed-off-by: Jason Hall <jason@chainguard.dev> Signed-off-by: Jason Hall <jason@chainguard.dev>
15 lines
233 B
YAML
15 lines
233 B
YAML
builds:
|
|
- id: initContainer
|
|
main: ./cmd/initContainer
|
|
ldflags:
|
|
- "{{ .Env.LD_FLAGS }}"
|
|
|
|
- id: kyverno
|
|
main: ./cmd/kyverno
|
|
ldflags:
|
|
- "{{ .Env.LD_FLAGS }}"
|
|
|
|
- id: cli
|
|
main: ./cmd/cli
|
|
ldflags:
|
|
- "{{ .Env.LD_FLAGS }}"
|