-
Notifications
You must be signed in to change notification settings - Fork 2
/
.kres.yaml
53 lines (53 loc) · 1 KB
/
.kres.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
kind: pkgfile.Build
spec:
targets:
- overlays
makefile:
extraVariables:
- name: OVERLAYS_IMAGE_REF
defaultValue: $(REGISTRY_AND_USERNAME)/overlays:$(TAG)
---
kind: common.Build
spec:
ignoredPaths:
- "internal/overlays/overlays-generated.yaml"
---
kind: auto.CustomSteps
spec:
steps:
- name: internal/overlays/overlays-generated.yaml
toplevel: true
- name: overlays
toplevel: true
- name: sign-images
toplevel: true
---
kind: custom.Step
name: internal/overlays/overlays-generated.yaml
spec:
makefile:
enabled: true
phony: true
script:
- "@./hack/scripts/generate-digests.sh"
---
kind: custom.Step
name: overlays
spec:
makefile:
enabled: true
phony: true
depends:
- internal/overlays/overlays-generated.yaml
---
kind: custom.Step
name: sign-images
spec:
makefile:
enabled: true
phony: true
script:
- |
@OVERLAYS_IMAGE_REF=$(OVERLAYS_IMAGE_REF) \
./hack/scripts/sign-images.sh