This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 1
1
#syntax=docker/dockerfile:1.5.2
2
2
3
3
ARG ref=main
4
- FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
5
4
5
+ FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6
6
ARG name
7
7
ARG version
8
8
Original file line number Diff line number Diff line change 2936
2936
"datasourceTemplate" : " github-releases" ,
2937
2937
"extractVersionTemplate" : " ^v(?<version>.+?)$"
2938
2938
},
2939
+ {
2940
+ "fileMatch" : [
2941
+ " ^tools/kudo/manifest.yaml$"
2942
+ ],
2943
+ "matchStrings" : [
2944
+ " version: \" ?(?<currentValue>.*?)\" ?\\ n"
2945
+ ],
2946
+ "depNameTemplate" : " kudobuilder/kudo" ,
2947
+ "datasourceTemplate" : " github-releases" ,
2948
+ "extractVersionTemplate" : " ^v(?<version>.+?)$"
2949
+ },
2939
2950
{
2940
2951
"fileMatch" : [
2941
2952
" ^tools/kustomize/manifest.yaml$"
Original file line number Diff line number Diff line change
1
+ #syntax=docker/dockerfile:1.5.2
2
+
3
+ ARG ref=main
4
+
5
+ FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6
+ ARG name
7
+ ARG version
8
+ RUN <<EOF
9
+ case "${alt_arch}" in
10
+ amd64)
11
+ export arch_suffix="${arch}"
12
+ ;;
13
+ arm64)
14
+ export arch_suffix="${alt_arch}"
15
+ ;;
16
+ *)
17
+ echo "ERROR: Unsupported architecture (${alt_arch})."
18
+ exit 1
19
+ ;;
20
+ esac
21
+
22
+ curl --silent --location --fail "https://github.com/kudobuilder/kudo/releases/download/v${version}/kudo_${version}_linux_${arch_suffix}.tar.gz" \
23
+ | tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner \
24
+ kubectl-kudo
25
+ EOF
Original file line number Diff line number Diff line change
1
+ name : kudo
2
+ version : " 0.19.0"
3
+ binary : kubectl-kudo
4
+ check : ${binary} --version | cut -d' ' -f3
5
+ platforms :
6
+ - linux/amd64
7
+ - linux/arm64
8
+ tags :
9
+ - category/development
10
+ - lang/go
11
+ - type/cli
12
+ - type/plugin
13
+ homepage : https://github.com/kudobuilder/kudo
14
+ description : Kubernetes Universal Declarative Operator
15
+ renovate :
16
+ datasource : github-releases
17
+ package : kudobuilder/kudo
18
+ extractVersion : ^v(?<version>.+?)$
You can’t perform that action at this time.
0 commit comments