Update kubectl to v1.20.4
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
2f28126364
commit
a1ab63e8f8
|
@ -32,7 +32,7 @@ jobs:
|
|||
- name: Setup Kubectl
|
||||
uses: fluxcd/pkg/actions/kubectl@main
|
||||
with:
|
||||
version: 1.20.2
|
||||
version: 1.20.4
|
||||
- name: Run tests
|
||||
run: make test
|
||||
env:
|
||||
|
|
|
@ -6,7 +6,7 @@ WORKDIR /workspace
|
|||
|
||||
RUN apk add --no-cache ca-certificates curl
|
||||
|
||||
RUN kubectl_ver=1.20.2 && \
|
||||
RUN kubectl_ver=1.20.4 && \
|
||||
arch=${TARGETPLATFORM:-linux/amd64} && \
|
||||
if [ "$TARGETPLATFORM" == "linux/arm/v7" ]; then arch="linux/arm"; fi && \
|
||||
curl -sL https://storage.googleapis.com/kubernetes-release/release/v${kubectl_ver}/bin/${arch}/kubectl \
|
||||
|
|
Loading…
Reference in New Issue