mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
Add forcetag to package build
Use this if you really need to rebuild a package, eg if you change `pakcage.mk` Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
ed38adbc90
commit
9b4bce1e40
@ -46,6 +46,9 @@ show-tag:
|
|||||||
tag: $(BASE_DEPS) $(DEPS)
|
tag: $(BASE_DEPS) $(DEPS)
|
||||||
docker pull $(TAG) || docker build $(LABELS) $(NET_OPT) -t $(TAG) .
|
docker pull $(TAG) || docker build $(LABELS) $(NET_OPT) -t $(TAG) .
|
||||||
|
|
||||||
|
forcetag: $(BASE_DEPS) $(DEPS)
|
||||||
|
docker build $(LABELS) $(NET_OPT) -t $(TAG) .
|
||||||
|
|
||||||
push: tag
|
push: tag
|
||||||
ifneq ($(DIRTY),)
|
ifneq ($(DIRTY),)
|
||||||
$(error Your repository is not clean. Will not push package image.)
|
$(error Your repository is not clean. Will not push package image.)
|
||||||
|
Loading…
Reference in New Issue
Block a user