NOISSUE - Add MQTT build steps into Makefile (#267)

This commit is contained in:
Dejan Mijić 2018-05-11 01:13:33 +02:00 committed by GitHub
parent bca3d0774f
commit 1bc4dc9575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -33,12 +33,14 @@ $(DOCKERS):
dockers: $(DOCKERS)
docker build --tag=mainflux/dashflux -f dashflux/docker/Dockerfile dashflux
docker build --tag=mainflux/mqtt -f mqtt/Dockerfile mqtt
latest: dockers
for svc in $(SERVICES); do \
docker push mainflux/$$svc; \
done
docker push mainflux/dashflux
docker push mainflux/mqtt
release:
$(eval version = $(shell git describe --abbrev=0 --tags))
@ -50,3 +52,5 @@ release:
done
docker tag mainflux/dashflux mainflux/dashflux:$(version)
docker push mainflux/dashflux:$(version)
docker tag mainflux/mqtt mainflux/mqtt:$(version)
docker push mainflux/mqtt:$(version)