From 3bc3f754ddbf519842b9f10e88268830996b3705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gergely=20Szab=C3=B3?= Date: Fri, 20 Jan 2023 09:47:20 +0100 Subject: [PATCH] upgrading cloud-sdk and Helm (#24) cloud-sdk: 412.0.0 -> 414.0.0 Helm: 3.10.3 -> 3.11.0 --- Dockerfile | 6 +++--- README.md | 10 +++++----- README.org | 11 +++++------ 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index a2c609e..cea1477 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM google/cloud-sdk:412.0.0-alpine@sha256:d1ffc996b5ae897fa3fa06a3335a1f301c14c29f4a535970c969319edc33a2bd +FROM google/cloud-sdk:414.0.0-alpine@sha256:b0e1d5862f19ed92175c293c8bc0d7a20dce89a441d551564d69092733bab671 ARG KUSTOMIZE_VERSION=4.5.7 ARG SOPS_VERSION=3.7.3 -ARG HELM_VERSION=3.10.3 +ARG HELM_VERSION=3.11.0 ADD https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz /tmp ADD https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz /tmp RUN tar xf /tmp/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz -C /usr/bin && \ @@ -9,7 +9,7 @@ RUN tar xf /tmp/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz -C /usr/bin & wget https://github.com/mozilla/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64 -O /usr/bin/sops && \ chmod a+x /usr/bin/sops -FROM google/cloud-sdk:412.0.0-alpine@sha256:d1ffc996b5ae897fa3fa06a3335a1f301c14c29f4a535970c969319edc33a2bd +FROM google/cloud-sdk:414.0.0-alpine@sha256:b0e1d5862f19ed92175c293c8bc0d7a20dce89a441d551564d69092733bab671 COPY --from=0 /usr/bin/kustomize /usr/bin/kustomize COPY --from=0 /usr/bin/linux-amd64/helm /usr/bin/helm COPY --from=0 /usr/bin/sops /usr/bin/sops diff --git a/README.md b/README.md index 1db3d7f..7cfb3fd 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ You can manually build the Docker image with the following command: docker buildx build . -t muehlemannpopp/gke-deploy-tools:latest \ --build-arg KUSTOMIZE_VERSION=4.5.7 \ --build-arg SOPS_VERSION=3.7.3 \ - --build-arg HELM_VERSION=3.10.3 + --build-arg HELM_VERSION=3.11.0 ``` @@ -14,8 +14,8 @@ docker buildx build . -t muehlemannpopp/gke-deploy-tools:latest \ ```bash docker tag muehlemannpopp/gke-deploy-tools:latest \ - muehlemannpopp/gke-deploy-tools:412.0.0 -docker push muehlemannpopp/gke-deploy-tools:412.0.0 + muehlemannpopp/gke-deploy-tools:414.0.0 +docker push muehlemannpopp/gke-deploy-tools:414.0.0 docker push muehlemannpopp/gke-deploy-tools:latest ``` @@ -24,10 +24,10 @@ docker push muehlemannpopp/gke-deploy-tools:latest | dependency | version | last updated | digest | |------------ |---------------- |--------------------------- |----------------------------------------------------------------------- | -| google-cloud | 412.0.0-alpine | 2022-12-13T18:58:51.098755Z | sha256:d1ffc996b5ae897fa3fa06a3335a1f301c14c29f4a535970c969319edc33a2bd | +| google-cloud | 414.0.0-alpine | 2023-01-18T21:06:30.582578Z | sha256:b0e1d5862f19ed92175c293c8bc0d7a20dce89a441d551564d69092733bab671 | | kustomize | kustomize/v4.5.7 | 2022-08-02T16:39:10Z | | | sops | v3.7.3 | 2022-05-09T17:37:50Z | | -| Helm | Helm v3.10.3 | 2022-12-14T17:54:36Z | | +| Helm | Helm v3.11.0 | 2023-01-18T17:33:47Z | | ## Google Cloud SDK diff --git a/README.org b/README.org index 7e17d7e..d3d61ed 100644 --- a/README.org +++ b/README.org @@ -22,15 +22,15 @@ You can manually build the Docker image with the following command: docker buildx build . -t muehlemannpopp/gke-deploy-tools:latest \ --build-arg KUSTOMIZE_VERSION=4.5.7 \ --build-arg SOPS_VERSION=3.7.3 \ - --build-arg HELM_VERSION=3.10.3 + --build-arg HELM_VERSION=3.11.0 #+end_src * Push image #+begin_src bash :eval never docker tag muehlemannpopp/gke-deploy-tools:latest \ - muehlemannpopp/gke-deploy-tools:412.0.0 - docker push muehlemannpopp/gke-deploy-tools:412.0.0 + muehlemannpopp/gke-deploy-tools:414.0.0 + docker push muehlemannpopp/gke-deploy-tools:414.0.0 docker push muehlemannpopp/gke-deploy-tools:latest #+end_src @@ -40,12 +40,11 @@ You can manually build the Docker image with the following command: #+caption: Depency versions | dependency | version | last updated | digest | |--------------+------------------+-----------------------------+-------------------------------------------------------------------------| -| google-cloud | 412.0.0-alpine | 2022-12-13T18:58:51.098755Z | sha256:d1ffc996b5ae897fa3fa06a3335a1f301c14c29f4a535970c969319edc33a2bd | +| google-cloud | 414.0.0-alpine | 2023-01-18T21:06:30.582578Z | sha256:b0e1d5862f19ed92175c293c8bc0d7a20dce89a441d551564d69092733bab671 | | kustomize | kustomize/v4.5.7 | 2022-08-02T16:39:10Z | | | sops | v3.7.3 | 2022-05-09T17:37:50Z | | -| Helm | Helm v3.10.3 | 2022-12-14T17:54:36Z | | +| Helm | Helm v3.11.0 | 2023-01-18T17:33:47Z | | #+TBLFM: @2$2='(org-sbe get-latest-cloud-sdk-tag (field 'name))::@2$3='(org-sbe get-latest-cloud-sdk-tag (field 'last_updated))::@2$4='(org-sbe get-latest-cloud-sdk-tag (field 'digest))::@3$2='(org-sbe get-latest-kustomize-release (field 'name))::@3$3='(org-sbe get-latest-kustomize-release (field 'published_at))::@4$2='(org-sbe get-latest-sops-release (field 'name))::@4$3='(org-sbe get-latest-sops-release (field 'published_at))::@5$2='(org-sbe get-latest-helm-release (field 'name))::@5$3='(org-sbe get-latest-helm-release (field 'published_at)) - ** Google Cloud SDK The latest base image version can be checked here: