Default make all
to build
and push
This commit is contained in:
parent
5d8b64be0c
commit
5c4c34613d
4
Makefile
4
Makefile
@ -12,10 +12,10 @@ $(REPOSITORY)_$(TAG).tar: build
|
|||||||
@echo "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@"
|
@echo "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@"
|
||||||
@docker save $(REPOSITORY):$(TAG) > $@
|
@docker save $(REPOSITORY):$(TAG) > $@
|
||||||
|
|
||||||
push:
|
push: build
|
||||||
@echo "$(OK_COLOR)==>$(NO_COLOR) Pushing $(REPOSITORY):$(TAG)"
|
@echo "$(OK_COLOR)==>$(NO_COLOR) Pushing $(REPOSITORY):$(TAG)"
|
||||||
@docker push $(REPOSITORY):$(TAG)
|
@docker push $(REPOSITORY):$(TAG)
|
||||||
|
|
||||||
all: build $(REPOSITORY)_$(TAG).tar
|
all: build push
|
||||||
|
|
||||||
.PHONY: all build push
|
.PHONY: all build push
|
||||||
|
Reference in New Issue
Block a user