New `edge` tag for SHIELD Docker images
BUILD_TYPE ?= build
DOCKER_TAG ?= dev
+EDGE ?= edge
# Everything; this is the default behavior
all: build test
@@ -139,6 +140,14 @@ docker-webdav:
docker-demo:
docker build -t shieldproject/demo:$(DOCKER_TAG) docker/demo
+docker-edge:
+ @echo "Checking that VERSION was defined in the calling environment"
+ @test -n "$(VERSION)"
+ @echo "OK. VERSION=$(VERSION)"
+
+ docker build -t shieldproject/shield:$(EDGE) . --build-arg VERSION=$(VERSION)
+ docker push shieldproject/shield:$(EDGE)
+
docker-release:
@echo "Checking that VERSION was defined in the calling environment"
@test -n "$(VERSION)"
