17 lines
224 B
Makefile
17 lines
224 B
Makefile
VERSION=3.8-1
|
|
IMAGE=jams
|
|
|
|
ifdef REGISTRY
|
|
_REGISTRY = $(REGISTRY)/
|
|
endif
|
|
|
|
.PHONY: build push all
|
|
|
|
build:
|
|
docker build -t $(_REGISTRY)$(IMAGE):$(VERSION) .
|
|
|
|
push:
|
|
docker push $(_REGISTRY)$(IMAGE):$(VERSION)
|
|
|
|
all: build push
|