File tree Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish Chart
2
2
3
3
on :
4
- push :
5
- branches :
6
- - main
7
- - release-*
8
4
release :
9
5
types :
10
6
- published
Original file line number Diff line number Diff line change 1
1
name : CI-Infra-Build
2
2
3
3
on :
4
- push :
5
- branches :
6
- - main
7
- - release-*
8
- workflow_dispatch : {}
9
- pull_request :
10
- branches :
11
- - main
12
- - release-*
4
+ release :
5
+ types :
6
+ - published
7
+ tags :
8
+ - v*
13
9
14
10
permissions :
15
11
contents : read
93
89
uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
94
90
with :
95
91
submodules : true
92
+
93
+ - name : Get Version
94
+ id : get_version
95
+ run : |
96
+ VERSION=${GITHUB_REF#refs/tags/}
97
+ echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
98
+
96
99
- name : Setup Go
97
100
uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
98
101
with :
@@ -118,8 +121,9 @@ jobs:
118
121
119
122
- name : Run Build Images
120
123
run : |
121
- make multi-arch-builder IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }}
122
- make publish IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }}
124
+ version=${{ steps.get_version.outputs.VERSION }}
125
+ make multi-arch-builder IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }} VERSION=${version}
126
+ make publish IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }} VERSION=${version}
123
127
124
128
- name : Cleanup binary
125
129
run : make kdp-cli-clean
Original file line number Diff line number Diff line change 1
1
# #@ Docker image info
2
2
IMG ?= linktimecloud/kubernetes-data-platform:$(VERSION )
3
- KDP_IMG ?= linktimecloud/kdp-infra :$(VERSION )
3
+ KDP_IMG ?= linktimecloud/kdp:$(VERSION )
4
4
IMG_REGISTRY ?= ""
5
5
OUTPUT_TYPE := registry
6
6
TARGETARCHS := amd64 arm64
You can’t perform that action at this time.
0 commit comments