mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-18 18:56:24 +00:00
Create a variable for BUILDSTEP_REPO
This commit is contained in:
parent
d5c9735525
commit
451cb06faf
@ -1,3 +1,3 @@
|
||||
FROM rpi-buildstep-armv6hf:latest
|
||||
FROM resin/rpi-buildstep-armv6hf:latest
|
||||
ADD . /app
|
||||
RUN /build/builder
|
||||
|
6
Makefile
6
Makefile
@ -10,11 +10,13 @@ BUILDSTEP_REGISTRY = registry.staging.resin.io
|
||||
|
||||
BUILDSTEP_VERSION = latest
|
||||
|
||||
BUILDSTEP_REPO = resin/rpi-buildstep-armv6hf
|
||||
|
||||
all: supervisor
|
||||
|
||||
supervisor:
|
||||
docker pull $(BUILDSTEP_REGISTRY)/resin/rpi-buildstep-armv6hf:$(BUILDSTEP_VERSION)
|
||||
docker tag $(BUILDSTEP_REGISTRY)/resin/rpi-buildstep-armv6hf:$(BUILDSTEP_VERSION) rpi-buildstep-armv6hf:latest
|
||||
docker pull $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO):$(BUILDSTEP_VERSION)
|
||||
docker tag $(BUILDSTEP_REGISTRY)/$(BUILDSTEP_REPO):$(BUILDSTEP_VERSION) resin/rpi-buildstep-armv6hf:latest
|
||||
docker build --no-cache=$(DISABLE_CACHE) -t $(IMAGE):$(SUPERVISOR_VERSION) .
|
||||
docker tag $(IMAGE):$(SUPERVISOR_VERSION) $(SUPERVISOR_REGISTRY)/$(IMAGE):$(SUPERVISOR_VERSION)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user