This is an automated email from the ASF dual-hosted git repository.

rgdoliveira pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 5f57f14460a NO-ISSUE: fix issue when using image digest in Operator 
Makefile (#2804)
5f57f14460a is described below

commit 5f57f14460afb6287495da6009ae3a3a685f11ee
Author: Roberto Oliveira <rguim...@redhat.com>
AuthorDate: Fri Dec 13 08:39:04 2024 -0500

    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
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org
For additional commands, e-mail: commits-h...@kie.apache.org

Reply via email to