mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-23 18:33:35 +00:00
Keep the / in the DEPLOY_REGISTRY, so we can just set it empty to use the default docker registry.
This commit is contained in:
parent
8f43fb0c36
commit
fb4bd203be
6
Makefile
6
Makefile
@ -2,7 +2,7 @@ DISABLE_CACHE = 'false'
|
||||
|
||||
ARCH = rpi# rpi/x86_64/i386
|
||||
|
||||
DEPLOY_REGISTRY = registry.resindev.io:5000
|
||||
DEPLOY_REGISTRY = registry.resindev.io:5000/
|
||||
|
||||
SUPERVISOR_VERSION = latest
|
||||
|
||||
@ -20,8 +20,8 @@ supervisor:
|
||||
-rm Dockerfile
|
||||
|
||||
deploy: supervisor
|
||||
docker tag -f $(IMAGE) $(DEPLOY_REGISTRY)/$(IMAGE)
|
||||
docker push $(DEPLOY_REGISTRY)/$(IMAGE)
|
||||
docker tag -f $(IMAGE) $(DEPLOY_REGISTRY)$(IMAGE)
|
||||
docker push $(DEPLOY_REGISTRY)$(IMAGE)
|
||||
|
||||
run-supervisor-x86_64:
|
||||
docker run --privileged -d -v /var/run/docker.sock:/run/docker.sock -v /boot/config.json:/boot/config.json -v /:/mnt/root -v /resin-data/resin-supervisor:/data -v /proc/net/fib_trie:/mnt/fib_trie -v /var/log/supervisor-log:/var/log -e API_ENDPOINT=https://staging.resin.io -e REGISTRY_ENDPOINT=registry.staging.resin.io -e PUBNUB_SUBSCRIBE_KEY=sub-c-bananas -e PUBNUB_PUBLISH_KEY=pub-c-bananas -e MIXPANEL_TOKEN=bananasbananas resin/x86_64-supervisor /start
|
||||
|
Loading…
x
Reference in New Issue
Block a user