mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
Tag the accelerated supervisor in the same way as the non-accelerated one.
This commit is contained in:
parent
d7abc9e8bd
commit
7a5197d68e
4
Makefile
4
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'
|
||||
|
Loading…
Reference in New Issue
Block a user