mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
Return error on packaging offline installer failure
This commit is contained in:
parent
d150f8763b
commit
6c092e2172
3
Makefile
3
Makefile
@ -384,7 +384,8 @@ package_offline: compile build modify_sourcefiles modify_composefile
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
@echo "saving harbor docker image"
|
@echo "saving harbor docker image"
|
||||||
@$(DOCKERSAVE) $(DOCKERSAVE_PARA) | gzip > $(HARBORPKG)/$(DOCKERIMGFILE).$(VERSIONTAG).tar.gz
|
@$(DOCKERSAVE) $(DOCKERSAVE_PARA) > $(HARBORPKG)/$(DOCKERIMGFILE).$(VERSIONTAG).tar
|
||||||
|
@gzip $(HARBORPKG)/$(DOCKERIMGFILE).$(VERSIONTAG).tar
|
||||||
|
|
||||||
@$(TARCMD) $(PACKAGE_OFFLINE_PARA)
|
@$(TARCMD) $(PACKAGE_OFFLINE_PARA)
|
||||||
@rm -rf $(HARBORPKG)
|
@rm -rf $(HARBORPKG)
|
||||||
|
Loading…
Reference in New Issue
Block a user