mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 09:39:08 +00:00
Merge pull request #2313 from arm64b/dirty-make-issue
package.mk: Adjust the targe sequence to avoid early abort
This commit is contained in:
commit
25ddb186a4
@ -60,14 +60,14 @@ ifneq ($(DIRTY),)
|
|||||||
$(error Your repository is not clean. Will not push package image)
|
$(error Your repository is not clean. Will not push package image)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
push: check-dirty tag
|
push: tag check-dirty
|
||||||
docker pull $(TAG) || docker push $(TAG)
|
docker pull $(TAG) || docker push $(TAG)
|
||||||
ifneq ($(RELEASE),)
|
ifneq ($(RELEASE),)
|
||||||
docker tag $(TAG) $(ORG)/$(IMAGE):$(RELEASE)
|
docker tag $(TAG) $(ORG)/$(IMAGE):$(RELEASE)
|
||||||
docker push $(ORG)/$(IMAGE):$(RELEASE)
|
docker push $(ORG)/$(IMAGE):$(RELEASE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
forcepush: check-dirty forcetag
|
forcepush: forcetag check-dirty
|
||||||
docker push $(TAG)
|
docker push $(TAG)
|
||||||
ifneq ($(RELEASE),)
|
ifneq ($(RELEASE),)
|
||||||
docker tag $(TAG) $(ORG)/$(IMAGE):$(RELEASE)
|
docker tag $(TAG) $(ORG)/$(IMAGE):$(RELEASE)
|
||||||
|
Loading…
Reference in New Issue
Block a user