add -dirty to image name if repo is dirty
This commit is contained in:
parent
de8aa51035
commit
6da2bfbfe0
12
Makefile
12
Makefile
@ -41,12 +41,12 @@ lint:
|
|||||||
|
|
||||||
.PHONY: docker-build
|
.PHONY: docker-build
|
||||||
docker-build: bin/hw bin/hwc bin/hwl
|
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)$(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)$(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)$(DIRTY)
|
||||||
|
|
||||||
.PHONY: docker-push
|
.PHONY: docker-push
|
||||||
docker-push:
|
docker-push:
|
||||||
docker push smcquay/hw:$(VERSION)$(V_DIRTY)
|
docker push smcquay/hw:$(VERSION)$(V_DIRTY)$(DIRTY)
|
||||||
docker push smcquay/hwc:$(VERSION)$(V_DIRTY)
|
docker push smcquay/hwc:$(VERSION)$(V_DIRTY)$(DIRTY)
|
||||||
docker push smcquay/hwl:$(VERSION)$(V_DIRTY)
|
docker push smcquay/hwl:$(VERSION)$(V_DIRTY)$(DIRTY)
|
||||||
|
Loading…
Reference in New Issue
Block a user