-
Notifications
You must be signed in to change notification settings - Fork 0
121 lines (114 loc) · 3.55 KB
/
build.yml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
name: Image Building
on:
workflow_dispatch:
schedule:
- cron: "0 0 1,15 * *"
jobs:
rebuild-base:
uses: ./.github/workflows/build-image.yml
strategy:
matrix:
params:
- tag: "1"
build_args: ""
with:
image_path: containers/base
image_name: base-pipeline
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit
rebuild-docker:
needs: rebuild-base
uses: ./.github/workflows/build-image.yml
strategy:
matrix:
params:
- tag: "1"
build_args: ""
with:
image_path: containers/docker
image_name: docker-pipeline
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit
rebuild-go:
needs: rebuild-base
uses: ./.github/workflows/build-image.yml
strategy:
matrix:
params:
- tag: "1.21"
build_args: |
GO_VERSION=1.21.12
GO_CHECKSUM=121ab58632787e18ae0caa8ae285b581f9470d0f6b3defde9e1600e211f583c5
GO_CHECKSUM_ARM=94cb3ec4a1e08a00da55c33e63f725be91f10ba743907b5615ef34e54675ba2e
- tag: "1.22"
build_args: ""
with:
image_path: containers/go
image_name: golang-pipeline
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit
rebuild-kubernetes:
needs: rebuild-base
uses: ./.github/workflows/build-image.yml
strategy:
matrix:
params:
- tag: "1.27"
build_args: |
KUBECTL_VERSION=v1.27.15
KUBECTL_CHECKSUM=c12cf17ec30fb162f8f5fb168e67d4e5b7d6826e08c7648a5f1c6b4e9ba23f39
KUBECTL_CHECKSUM_ARM=6bd6bd3092c0a8e536e8e5a56b22aaab87ab1e54a4556ce4d1bff2493180fb8c
- tag: "1.28"
build_args: |
KUBECTL_VERSION=v1.28.11
KUBECTL_CHECKSUM=1dba63e1a5c9520fc516c6e817924d927b9b83b8e08254c8fe2a2edb65da7a9c
KUBECTL_CHECKSUM_ARM=7984a98d52365d190b6f56caa962339a7228b6f432e58ba5f1b1e60dbedac275
- tag: "1.29"
build_args: |
KUBECTL_VERSION=v1.29.6
KUBECTL_CHECKSUM=339553c919874ebe3b719e9e1fcd68b55bc8875f9b5a005cf4c028738d54d309
KUBECTL_CHECKSUM_ARM=21816488cf3af4cf2b956ee58f7afc5b4964c29488f63756f5ddcf09b0df5be9
- tag: "1.30"
build_args: ""
with:
image_path: containers/kubernetes
image_name: kubernetes-pipeline
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit
rebuild-node:
needs: rebuild-base
uses: ./.github/workflows/build-image.yml
strategy:
matrix:
params:
- tag: "18"
build_args: |
NODE_VERSION=v18.18.2
NODE_CHECKSUM=75aba25ae76999309fc6c598efe56ce53fbfc221381a44a840864276264ab8ac
NODE_CHECKSUM_ARM=2e630e18548627f61eaf573233da7949dc0a1df5eef3f486fa9820c5f6c121aa
- tag: "20"
build_args: ""
with:
image_path: containers/node
image_name: node-pipeline
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit
rebuild-sysdig:
needs: rebuild-base
uses: ./.github/workflows/build-image.yml
strategy:
matrix:
params:
- tag: "1"
build_args: ""
with:
image_path: containers/sysdig
image_name: sysdig-pipeline
image_tag: ${{ matrix.params.tag }}
build_args: ${{ matrix.params.build_args }}
secrets: inherit