Skip to content

Commit

Permalink
Merge pull request #3489 from cpanato/update-distroless
Browse files Browse the repository at this point in the history
bump distroless to use go1.22.1 and go1.21.8
  • Loading branch information
k8s-ci-robot committed Mar 6, 2024
2 parents 3a88d4d + f699701 commit 343aa57
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 28 deletions.
21 changes: 4 additions & 17 deletions dependencies.yaml
Expand Up @@ -443,45 +443,32 @@ dependencies:
match: "DEBIAN_BASE_VERSION: 'bookworm-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"

- name: "registry.k8s.io/build-image/distroless-iptables (distroless-bookworm-go1.22)"
version: v0.5.1
version: v0.5.2
refPaths:
- path: images/build/distroless-iptables/Makefile
match: IMAGE_VERSION\ \?=\ v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
- path: images/build/distroless-iptables/variants.yaml
match: IMAGE_VERSION:\ \'v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)\'

- name: "registry.k8s.io/build-image/go-runner: dependents (distroless-bookworm-go1.22)"
version: v2.3.1-go1.22-bookworm.0
version: v2.3.1-go1.22.1-bookworm.0
refPaths:
- path: images/build/distroless-iptables/Makefile
match: GORUNNER_VERSION \?= v\d+\.\d+\.\d+-go\d+.\d+(alpha|beta|rc)?\.?(\d+)?-bookworm\.\d+
- path: images/build/distroless-iptables/variants.yaml
match: GORUNNER_VERSION:\ \'v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)\'

- name: "registry.k8s.io/build-image/distroless-iptables (distroless-bookworm-go1.21)"
version: v0.4.5
version: v0.4.6
refPaths:
- path: images/build/distroless-iptables/variants.yaml
match: IMAGE_VERSION:\ \'v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)\'

- name: "registry.k8s.io/build-image/go-runner: dependents (distroless-bookworm-go1.21)"
version: v2.3.1-go1.21.7-bookworm.0
refPaths:
- path: images/build/distroless-iptables/variants.yaml
match: GORUNNER_VERSION:\ \'v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)\'

- name: "registry.k8s.io/build-image/distroless-iptables (distroless-bookworm-go1.20)"
version: v0.2.10
refPaths:
- path: images/build/distroless-iptables/variants.yaml
match: IMAGE_VERSION:\ \'v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)\'

- name: "registry.k8s.io/build-image/go-runner: dependents (distroless-bookworm-go1.20)"
version: v2.3.1-go1.20.14-bullseye.0
version: v2.3.1-go1.21.8-bookworm.0
refPaths:
- path: images/build/distroless-iptables/variants.yaml
match: GORUNNER_VERSION:\ \'v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)\'


- name: "registry.k8s.io/build-image/setcap"
version: bookworm-v1.0.1
Expand Down
4 changes: 2 additions & 2 deletions images/build/distroless-iptables/Makefile
Expand Up @@ -18,10 +18,10 @@ REGISTRY?="gcr.io/k8s-staging-build-image"
IMAGE=$(REGISTRY)/distroless-iptables

TAG ?= $(shell git describe --tags --always --dirty)
IMAGE_VERSION ?= v0.5.1
IMAGE_VERSION ?= v0.5.2
CONFIG ?= distroless-bookworm
BASEIMAGE ?= debian:bookworm-slim
GORUNNER_VERSION ?= v2.3.1-go1.22-bookworm.0
GORUNNER_VERSION ?= v2.3.1-go1.22.1-bookworm.0

ARCH?=amd64
ALL_ARCH = amd64 arm arm64 ppc64le s390x
Expand Down
13 changes: 4 additions & 9 deletions images/build/distroless-iptables/variants.yaml
@@ -1,16 +1,11 @@
variants:
distroless-bookworm-go1.22:
CONFIG: 'distroless-bookworm'
IMAGE_VERSION: 'v0.5.1'
IMAGE_VERSION: 'v0.5.2'
BASEIMAGE: 'debian:bookworm-slim'
GORUNNER_VERSION: 'v2.3.1-go1.22-bookworm.0'
GORUNNER_VERSION: 'v2.3.1-go1.22.1-bookworm.0'
distroless-bookworm-go1.21:
CONFIG: 'distroless-bookworm'
IMAGE_VERSION: 'v0.4.5'
IMAGE_VERSION: 'v0.4.6'
BASEIMAGE: 'debian:bookworm-slim'
GORUNNER_VERSION: 'v2.3.1-go1.21.7-bookworm.0'
distroless-bullseye-go1.20:
CONFIG: 'distroless-bullseye'
IMAGE_VERSION: 'v0.2.10'
BASEIMAGE: 'debian:bullseye-slim'
GORUNNER_VERSION: 'v2.3.1-go1.20.14-bullseye.0'
GORUNNER_VERSION: 'v2.3.1-go1.21.8-bookworm.0'

0 comments on commit 343aa57

Please sign in to comment.