fix(Makefile): Bring back the new lines from messages (#219)
Follow up to #218.
This commit is contained in:
parent
0fd0379859
commit
424cc20e84
6
Makefile
6
Makefile
@ -5,15 +5,15 @@ OK_COLOR=\033[32;01m
|
|||||||
NO_COLOR=\033[0m
|
NO_COLOR=\033[0m
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@printf "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)"
|
@printf "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)\n"
|
||||||
@docker build --pull --rm -t $(REPOSITORY):$(TAG) . --build-arg IMAGE=sentry:9.1
|
@docker build --pull --rm -t $(REPOSITORY):$(TAG) . --build-arg IMAGE=sentry:9.1
|
||||||
|
|
||||||
$(REPOSITORY)_$(TAG).tar: build
|
$(REPOSITORY)_$(TAG).tar: build
|
||||||
@printf "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@"
|
@printf "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@\n"
|
||||||
@docker save $(REPOSITORY):$(TAG) > $@
|
@docker save $(REPOSITORY):$(TAG) > $@
|
||||||
|
|
||||||
push: build
|
push: build
|
||||||
@printf "$(OK_COLOR)==>$(NO_COLOR) Pushing $(REPOSITORY):$(TAG)"
|
@printf "$(OK_COLOR)==>$(NO_COLOR) Pushing $(REPOSITORY):$(TAG)\n"
|
||||||
@docker push $(REPOSITORY):$(TAG)
|
@docker push $(REPOSITORY):$(TAG)
|
||||||
|
|
||||||
all: build push
|
all: build push
|
||||||
|
Reference in New Issue
Block a user