Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated dependency bumping #466

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM google/cloud-sdk:477.0.0-alpine@sha256:577007b29199fbe39d66bc1a26a84d9842cb302d49eb3bfc659044f9f087323f AS base
ARG KUSTOMIZE_VERSION=5.4.1
FROM google/cloud-sdk:478.0.0-alpine@sha256:ccaaa71879bc1973bc4673edf7bc5ff7a176da79da6bc360725e1de98cac6c8f AS base
ARG KUSTOMIZE_VERSION=5.4.2
ARG SOPS_VERSION=3.8.1
ARG HELM_VERSION=3.15.0
ARG HELM_VERSION=3.15.1
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 && \
tar xf /tmp/helm-v${HELM_VERSION}-linux-amd64.tar.gz -C /usr/bin && \
wget https://github.com/getsops/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:477.0.0-alpine@sha256:577007b29199fbe39d66bc1a26a84d9842cb302d49eb3bfc659044f9f087323f
FROM google/cloud-sdk:478.0.0-alpine@sha256:ccaaa71879bc1973bc4673edf7bc5ff7a176da79da6bc360725e1de98cac6c8f
COPY --from=base /usr/bin/kustomize /usr/bin/kustomize
COPY --from=base /usr/bin/linux-amd64/helm /usr/bin/helm
COPY --from=base /usr/bin/sops /usr/bin/sops
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ You can manually build the Docker image with the following command:

```bash
docker buildx build . -t muehlemannpopp/gke-deploy-tools:latest \
--build-arg KUSTOMIZE_VERSION=5.4.1 \
--build-arg KUSTOMIZE_VERSION=5.4.2 \
--build-arg SOPS_VERSION=3.8.1 \
--build-arg HELM_VERSION=3.15.0
--build-arg HELM_VERSION=3.15.1
```

# Push image

```bash
docker tag muehlemannpopp/gke-deploy-tools:latest \
muehlemannpopp/gke-deploy-tools:477.0.0
docker push muehlemannpopp/gke-deploy-tools:477.0.0
muehlemannpopp/gke-deploy-tools:478.0.0
docker push muehlemannpopp/gke-deploy-tools:478.0.0
docker push muehlemannpopp/gke-deploy-tools:latest
```

Expand All @@ -23,10 +23,10 @@ docker push muehlemannpopp/gke-deploy-tools:latest

| dependency | version | last updated | digest |
|--------------|-------------------------|------------------------------|------------------------------|
| google-cloud | 477.0.0-alpine | 2024-05-21T15:14:03.077555Z | sha256:577007b29199fbe39d66bc1a26a84d9842cb302d49eb3bfc659044f9f087323f |
| kustomize | 5.4.1 | 2024-04-04T17:18:31Z | |
| google-cloud | 478.0.0-alpine | 2024-05-30T10:50:39.970934Z | sha256:ccaaa71879bc1973bc4673edf7bc5ff7a176da79da6bc360725e1de98cac6c8f |
| kustomize | 5.4.2 | 2024-05-22T15:28:37Z | |
| sops | 3.8.1 | 2023-10-11T15:25:32Z | |
| Helm | 3.15.0 | 2024-05-15T20:59:25Z | |
| Helm | 3.15.1 | 2024-05-23T16:01:32Z | |


## Google Cloud SDK
Expand Down
2 changes: 1 addition & 1 deletion versions.nuon
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{helm: {version: "3.15.0", published_at: "2024-05-15T20:59:25Z"}, kustomize: {version: "5.4.1", published_at: "2024-04-04T17:18:31Z"}, sops: {version: "3.8.1", published_at: "2023-10-11T15:25:32Z"}, cloud-sdk: {image_tag: "477.0.0-alpine", published_at: "2024-05-21T15:14:03.077555Z", version: "477.0.0", digest: "sha256:577007b29199fbe39d66bc1a26a84d9842cb302d49eb3bfc659044f9f087323f"}}
{helm: {version: "3.15.1", published_at: "2024-05-23T16:01:32Z"}, kustomize: {version: "5.4.2", published_at: "2024-05-22T15:28:37Z"}, sops: {version: "3.8.1", published_at: "2023-10-11T15:25:32Z"}, cloud-sdk: {image_tag: "478.0.0-alpine", published_at: "2024-05-30T10:50:39.970934Z", version: "478.0.0", digest: "sha256:ccaaa71879bc1973bc4673edf7bc5ff7a176da79da6bc360725e1de98cac6c8f"}}