Skip to content

Commit

Permalink
fix(Makefile): Fix invalid reference format error (getsentry#218)
Browse files Browse the repository at this point in the history
Required after getsentry#211. Fixes getsentry#216. Also fixes printing of `-e` after getsentry#215.
  • Loading branch information
BYK authored Jul 17, 2019
1 parent ce1d259 commit 0fd0379
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fd0379

Please sign in to comment.