Adds docker push

This commit is contained in:
Stephen McQuay 2018-03-09 10:15:19 -08:00
parent 636231a7f3
commit 7a7dfb139d
Signed by: sm
GPG Key ID: 4E4B72F479BA3CE5

View File

@ -44,3 +44,9 @@ docker-build: bin/hw bin/hwc bin/hwl
docker build -f cmd/hw/Dockerfile . -t smcquay/hw:$(VERSION)$(V_DIRTY) docker build -f cmd/hw/Dockerfile . -t smcquay/hw:$(VERSION)$(V_DIRTY)
docker build -f cmd/hwc/Dockerfile . -t smcquay/hwc:$(VERSION)$(V_DIRTY) docker build -f cmd/hwc/Dockerfile . -t smcquay/hwc:$(VERSION)$(V_DIRTY)
docker build -f cmd/hwl/Dockerfile . -t smcquay/hwl:$(VERSION)$(V_DIRTY) docker build -f cmd/hwl/Dockerfile . -t smcquay/hwl:$(VERSION)$(V_DIRTY)
.PHONY: docker-push
docker-push:
docker push smcquay/hw:$(VERSION)$(V_DIRTY)
docker push smcquay/hwc:$(VERSION)$(V_DIRTY)
docker push smcquay/hwl:$(VERSION)$(V_DIRTY)