Add makefile targets to push docker images
MODIFY
s2i-builders/conda/Makefile
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)"

MODIFY
s2i-builders/venv/Makefile
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)"

Add makefile targets to push docker images