16 lines
226 B
Makefile
16 lines
226 B
Makefile
VERSION=3.2
|
|
IMAGE=jams
|
|
ifneq ($(REGISTRY),)
|
|
_REGISTRY =$(REGISTRY)/
|
|
endif
|
|
|
|
.PHONY: build push all
|
|
|
|
build:
|
|
docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) .
|
|
|
|
push:
|
|
docker push $(REGISTRY)/$(IMAGE):$(VERSION)
|
|
|
|
all: build push
|