NOISSUE - Add MQTT build steps into Makefile (#267)
This commit is contained in:
parent
bca3d0774f
commit
1bc4dc9575
4
Makefile
4
Makefile
|
@ -33,12 +33,14 @@ $(DOCKERS):
|
||||||
|
|
||||||
dockers: $(DOCKERS)
|
dockers: $(DOCKERS)
|
||||||
docker build --tag=mainflux/dashflux -f dashflux/docker/Dockerfile dashflux
|
docker build --tag=mainflux/dashflux -f dashflux/docker/Dockerfile dashflux
|
||||||
|
docker build --tag=mainflux/mqtt -f mqtt/Dockerfile mqtt
|
||||||
|
|
||||||
latest: dockers
|
latest: dockers
|
||||||
for svc in $(SERVICES); do \
|
for svc in $(SERVICES); do \
|
||||||
docker push mainflux/$$svc; \
|
docker push mainflux/$$svc; \
|
||||||
done
|
done
|
||||||
docker push mainflux/dashflux
|
docker push mainflux/dashflux
|
||||||
|
docker push mainflux/mqtt
|
||||||
|
|
||||||
release:
|
release:
|
||||||
$(eval version = $(shell git describe --abbrev=0 --tags))
|
$(eval version = $(shell git describe --abbrev=0 --tags))
|
||||||
|
@ -50,3 +52,5 @@ release:
|
||||||
done
|
done
|
||||||
docker tag mainflux/dashflux mainflux/dashflux:$(version)
|
docker tag mainflux/dashflux mainflux/dashflux:$(version)
|
||||||
docker push mainflux/dashflux:$(version)
|
docker push mainflux/dashflux:$(version)
|
||||||
|
docker tag mainflux/mqtt mainflux/mqtt:$(version)
|
||||||
|
docker push mainflux/mqtt:$(version)
|
||||||
|
|
Loading…
Reference in New Issue