kopia lustrzana https://github.com/jupyterhub/repo2docker
Add makefile targets to push docker images
rodzic
496abd9e91
commit
c527913d28
|
@ -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)"
|
||||
|
|
|
@ -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)"
|
||||
|
|
Ładowanie…
Reference in New Issue