Skip to content

Commit

Permalink
NO-ISSUE: fix issue when using image digest in Operator Makefile (#2804)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgdoliveira authored Dec 13, 2024
1 parent 28f02cd commit 5f57f14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/sonataflow-operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5f57f14

Please sign in to comment.