add make target for updating base images

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
This commit is contained in:
Ashley Davis 2022-11-04 16:31:20 +00:00
parent 40b4bd8b68
commit cdcfd552ff
No known key found for this signature in database
GPG Key ID: DD14CC017E32BEB1
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,8 @@ set -eu -o pipefail
# This in turn allows us to easily update all base images to their latest versions, while mantaining the use
# of digests rather than tags when we refer to these base images.
CRANE=crane
TARGET=make/base_images.mk
STATIC_BASE=gcr.io/distroless/static

View File

@ -417,3 +417,7 @@ tools: $(TOOLS_PATHS) $(K8S_CODEGEN_TOOLS_PATHS) ## install all tools
.PHONY: update-kind-images
update-kind-images: $(BINDIR)/tools/crane
CRANE=./$(BINDIR)/tools/crane ./hack/latest-kind-images.sh
.PHONY: update-base-images
update-base-images: $(BINDIR)/tools/crane
CRANE=./$(BINDIR)/tools/crane ./hack/latest-base-images.sh