Skip to content

Commit 21b23b8

Browse files
authored
override RELEASE_TAG on empty string
1 parent 3f8e751 commit 21b23b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22

33
IMAGE_NAME ?= codeclimate/codeclimate-bundler-audit
44
RELEASE_REGISTRY ?= codeclimate
5-
RELEASE_TAG ?= latest
65
TEST_IMAGE_NAME ?= $(IMAGE_NAME)-test
76

7+
ifndef RELEASE_TAG
8+
override RELEASE_TAG = latest
9+
endif
10+
811
image:
912
docker build --rm -t $(IMAGE_NAME) .
1013

0 commit comments

Comments
 (0)