From 5f57f14460afb6287495da6009ae3a3a685f11ee Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Fri, 13 Dec 2024 08:39:04 -0500 Subject: [PATCH] NO-ISSUE: fix issue when using image digest in Operator Makefile (#2804) --- packages/sonataflow-operator/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/sonataflow-operator/Makefile b/packages/sonataflow-operator/Makefile index fe3cdd9eeb6..1aafc812e07 100644 --- a/packages/sonataflow-operator/Makefile +++ b/packages/sonataflow-operator/Makefile @@ -64,13 +64,15 @@ BUILDER ?= docker # USE_IMAGE_DIGESTS defines if images are resolved via tags or digests # You can enable this value if you would like to use SHA Based Digests # To enable set flag to true +IMG_TAG_SEP = : USE_IMAGE_DIGESTS ?= false ifeq ($(USE_IMAGE_DIGESTS), true) BUNDLE_GEN_FLAGS += --use-image-digests + IMG_TAG_SEP = @ endif # Image URL to use all building/pushing image targets -IMG ?= $(IMAGE_TAG_BASE):$(IMAGE_TAG) +IMG ?= $(IMAGE_TAG_BASE)$(IMG_TAG_SEP)$(IMAGE_TAG) # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. ENVTEST_K8S_VERSION = 1.26