diff --git a/s2i-builders/conda/Makefile b/s2i-builders/conda/Makefile index a5ff4842..78c1dd3d 100644 --- a/s2i-builders/conda/Makefile +++ b/s2i-builders/conda/Makefile @@ -6,7 +6,5 @@ VERSION = $(shell cat version) build: docker build -t $(IMAGE_NAME):$(VERSION) . -.PHONY: test -test: - docker build -t $(IMAGE_NAME)-candidate:$(VERSION) . - IMAGE_NAME=$(IMAGE_NAME)-candidate:$(VERSION) test/run +push: + docker push "$(IMAGE_NAME):$(VERSION)" diff --git a/s2i-builders/venv/Makefile b/s2i-builders/venv/Makefile index ca9ad35f..6ef30b30 100644 --- a/s2i-builders/venv/Makefile +++ b/s2i-builders/venv/Makefile @@ -5,3 +5,7 @@ VERSION = $(shell cat version) build: docker build -t $(IMAGE_PREFIX)3.5:$(VERSION) . -f Dockerfile docker build -t $(IMAGE_PREFIX)2.7:$(VERSION) . -f Dockerfile.py2 + +push: + docker push "$(IMAGE_PREFIX)3.5:$(VERSION)" + docker push "$(IMAGE_PREFIX)2.7:$(VERSION)"