From 0fd037985961048af664951d13816be1d56f8d75 Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Wed, 17 Jul 2019 22:44:42 +0300 Subject: [PATCH] fix(Makefile): Fix invalid reference format error (#218) Required after #211. Fixes #216. Also fixes printing of `-e` after #215. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0ab7e43..9a0eaab 100644 --- a/Makefile +++ b/Makefile @@ -5,15 +5,15 @@ OK_COLOR=\033[32;01m NO_COLOR=\033[0m build: - @echo -e "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)" - @docker build --pull --rm -t $(REPOSITORY):$(TAG) . + @printf "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)" + @docker build --pull --rm -t $(REPOSITORY):$(TAG) . --build-arg IMAGE=sentry:9.1 $(REPOSITORY)_$(TAG).tar: build - @echo -e "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@" + @printf "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@" @docker save $(REPOSITORY):$(TAG) > $@ push: build - @echo -e "$(OK_COLOR)==>$(NO_COLOR) Pushing $(REPOSITORY):$(TAG)" + @printf "$(OK_COLOR)==>$(NO_COLOR) Pushing $(REPOSITORY):$(TAG)" @docker push $(REPOSITORY):$(TAG) all: build push