File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,10 @@ name: image-update
22on :
33 schedule :
44 - cron : ' 20 6 * * *'
5-
6- # on:
7- # push:
8- # branches:
9- # - master
10- # - feature/gha
5+ push :
6+ branches :
7+ - master
8+ - feature/update-kubectl-url
119
1210jobs :
1311 base-image-digest :
2725 - command : kubectl
2826 base : alpine
2927 repo : " https://github.com/kubernetes/kubernetes.git"
30- check : " https://storage.googleapis.com/kubernetes-release /release/v${VERSION}/bin/linux/amd64/kubectl"
28+ check : " https://dl.k8s.io /release/v${VERSION}/bin/linux/amd64/kubectl"
3129 semverRange : " >=1.28.0"
3230 - command : lego
3331 base : alpine
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ ARG TARGETOS
1515ARG TARGETARCH
1616ARG VERSION
1717RUN curl -SsL -o /usr/local/bin/kubectl \
18- "https://storage.googleapis.com/kubernetes-release /release/v${VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" \
18+ "https://dl.k8s.io /release/v${VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" \
1919 && chmod +x /usr/local/bin/kubectl
2020
2121WORKDIR /home/alpine
You can’t perform that action at this time.
0 commit comments