From 7a5197d68eb1742a77684aa93129e6f8f71ce9b9 Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Fri, 18 Jul 2014 16:06:56 +0100 Subject: [PATCH] Tag the accelerated supervisor in the same way as the non-accelerated one. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6514a557..031459b4 100644 --- a/Makefile +++ b/Makefile @@ -39,8 +39,8 @@ endif docker tag $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO):$(BUILDSTEP_VERSION) resin/supervisor-base:latest docker rm build-supervisor-latest 2> /dev/null || true docker run --name build-supervisor-latest --volumes-from $(ACCELERATOR):ro -v `pwd`:/tmp/app resin/supervisor-base:latest bash -i -c ". /.env && cp -r /tmp/app /app && /build/builder" - docker commit build-supervisor-latest $(IMAGE) > /dev/null - docker rm build-supervisor-latest + docker commit build-supervisor-latest $(IMAGE):$(SUPERVISOR_VERSION) > /dev/null + docker tag $(IMAGE):$(SUPERVISOR_VERSION) $(SUPERVISOR_REGISTRY)/$(IMAGE):$(SUPERVISOR_VERSION) else supervisor-accelerated: echo 'Please run make accelerator in resin-buildstep to continue'