Skip to content

Commit d48f087

Browse files
Merge pull request #204 from mrogers950/make_tag
Makefile: Make image bundle depend on $TAG
2 parents ed8ba1e + bfe2a28 commit d48f087

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ export APP_NAME=file-integrity-operator
77
IMAGE_REPO?=quay.io/file-integrity-operator
88
RUNTIME?=podman
99

10+
# Image tag to use. Set this if you want to use a specific tag for building
11+
# or your e2e tests.
12+
TAG?=latest
13+
1014
# Image path to use. Set this if you want to use a specific path for building
1115
# or your e2e tests. This is overwritten if we bulid the image and push it to
1216
# the cluster or if we're on CI.
1317
RELATED_IMAGE_OPERATOR_PATH?=$(IMAGE_REPO)/$(APP_NAME)
1418
BUNDLE_IMAGE_PATH=$(IMAGE_REPO)/file-integrity-operator-bundle
15-
BUNDLE_IMAGE_TAG?=latest
19+
BUNDLE_IMAGE_TAG?=$(TAG)
1620
TEST_BUNDLE_IMAGE_TAG?=testonly
1721
INDEX_IMAGE_NAME=file-integrity-operator-index
1822
INDEX_IMAGE_PATH=$(IMAGE_REPO)/$(INDEX_IMAGE_NAME)
@@ -21,10 +25,6 @@ INDEX_IMAGE_TAG?=latest
2125
#
2226
DOWNLEVEL_VERSION?=0.1.16
2327

24-
# Image tag to use. Set this if you want to use a specific tag for building
25-
# or your e2e tests.
26-
TAG?=latest
27-
2828
# Build variables
2929
# ===============
3030
CURPATH=$(PWD)

0 commit comments

Comments
 (0)