2
0

fix(Makefile): Remove the obsolete Makefile (#333)

rip
This commit is contained in:
Burak Yigit Kaya 2020-01-09 16:13:18 +03:00 committed by GitHub
parent b2080c1446
commit d54c1a8d6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,21 +0,0 @@
REPOSITORY?=sentry-onpremise
TAG?=latest
OK_COLOR=\033[32;01m
NO_COLOR=\033[0m
build:
@printf "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)\n"
@docker build --pull --rm -t $(REPOSITORY):$(TAG) . --build-arg SENTRY_IMAGE=sentry:9.1
$(REPOSITORY)_$(TAG).tar: build
@printf "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@\n"
@docker save $(REPOSITORY):$(TAG) > $@
push: build
@printf "$(OK_COLOR)==>$(NO_COLOR) Pushing $(REPOSITORY):$(TAG)\n"
@docker push $(REPOSITORY):$(TAG)
all: build push
.PHONY: all build push