Skip to content

Commit

Permalink
Update GH CLI and aws-iam-authenticator versions in docker image (#8253)
Browse files Browse the repository at this point in the history
* Update GH CLI and aws-iam-authenticator versions in docker image

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Update build image manifest, tag file and workflows

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

---------

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
  • Loading branch information
dims authored Feb 26, 2025
1 parent 13d3635 commit ea4baae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN apk add --no-cache --initdb --root /out \
RUN curl --silent --location "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" --output /out/usr/local/bin/kubectl \
&& chmod +x /out/usr/local/bin/kubectl

ENV GITHUB_CLI_VERSION 1.14.0
ENV GITHUB_CLI_VERSION 2.67.0
RUN curl --silent --location "https://github.com/cli/cli/releases/download/v${GITHUB_CLI_VERSION}/gh_${GITHUB_CLI_VERSION}_linux_amd64.tar.gz" \
| tar xvz -C /out/usr/local/bin --strip-components=2 gh_${GITHUB_CLI_VERSION}_linux_amd64/bin/gh && gh --version

Expand All @@ -47,7 +47,7 @@ WORKDIR /src
ENV CGO_ENABLED=0 GOPROXY=https://proxy.golang.org,direct

# The authenticator is a runtime dependency, so it needs to be in /out
ENV AWS_IAM_AUTH_VERSION 0.5.7
ENV AWS_IAM_AUTH_VERSION 0.6.30
RUN curl --silent --location "https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v${AWS_IAM_AUTH_VERSION}/aws-iam-authenticator_${AWS_IAM_AUTH_VERSION}_linux_amd64" --output /out/usr/local/bin/aws-iam-authenticator \
&& chmod +x /out/usr/local/bin/aws-iam-authenticator
COPY .requirements install-build-deps.sh go.mod go.sum /src/
Expand Down
2 changes: 1 addition & 1 deletion build/docker/build_image_manifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"github.com/maxbrunsfeld/counterfeiter/v6 v6.11.2"
"github.com/vektra/mockery/v2 v2.52.2"
"github.com/vburenin/ifacemaker v1.2.1"
100644 blob 4110115ebb2fc751cf9a4a04c9c710f5269337ab build/docker/Dockerfile
100644 blob 6e1905a3f7a3061461d3b1965ddb3acbf180e31b build/docker/Dockerfile
100644 blob 9ba3be4b37411f411587af8520b8bbe60edd0808 .requirements
100755 blob c1129ff1ff85ac2c53f908a577675ea59a9325a7 build/scripts/install-build-deps.sh
2 changes: 1 addition & 1 deletion build/docker/image_tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fea6b4a5ba7b2ed7a8b3f792a4d4fb096e28b223
b8abdc03250e95398f1de08cc68bb85803687b72

0 comments on commit ea4baae

Please sign in to comment.