2
0

fix(Makefile): Fix invalid reference format error (#218)

Required after #211. Fixes #216. Also fixes printing of `-e` after #215.
This commit is contained in:
Burak Yigit Kaya 2019-07-17 22:44:42 +03:00 committed by GitHub
parent ce1d259834
commit 0fd0379859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,15 +5,15 @@ OK_COLOR=\033[32;01m
NO_COLOR=\033[0m NO_COLOR=\033[0m
build: build:
@echo -e "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)" @printf "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)"
@docker build --pull --rm -t $(REPOSITORY):$(TAG) . @docker build --pull --rm -t $(REPOSITORY):$(TAG) . --build-arg IMAGE=sentry:9.1
$(REPOSITORY)_$(TAG).tar: build $(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) > $@ @docker save $(REPOSITORY):$(TAG) > $@
push: build push: build
@echo -e "$(OK_COLOR)==>$(NO_COLOR) Pushing $(REPOSITORY):$(TAG)" @printf "$(OK_COLOR)==>$(NO_COLOR) Pushing $(REPOSITORY):$(TAG)"
@docker push $(REPOSITORY):$(TAG) @docker push $(REPOSITORY):$(TAG)
all: build push all: build push