Skip to content

Commit

Permalink
add -debug to image tags if DEBUG=1 (#54)
Browse files Browse the repository at this point in the history
* add -debug to image tags if DEBUG=1

* tab fix
  • Loading branch information
labkey-willm authored Nov 17, 2023
1 parent 758b59f commit 9768485
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ BUILD_REMOTE_REPO := $(BUILD_REPO_URI)/$(BUILD_REPO_NAME)
BUILD_LOCAL_TAG ?= $(BUILD_REPO_NAME):$(BUILD_VERSION)
BUILD_REMOTE_TAG := $(BUILD_REMOTE_REPO):$(BUILD_VERSION)

ifeq (1,$(DEBUG))
BUILD_LOCAL_TAG := $(addsuffix -debug,$(BUILD_LOCAL_TAG))
BUILD_REMOTE_TAG := $(addsuffix -debug,$(BUILD_REMOTE_TAG))
endif

define tc
$(shell printf "%steamcity[progressMessage '%s%n']" '##' '$1' ; )
endef
Expand Down

0 comments on commit 9768485

Please sign in to comment.