mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 19:56:09 +01:00
Merge pull request #3521 from wy65701436/fix-offline-installer
Return error on packaging offline installer failure
This commit is contained in:
commit
7a4a66cbd9
3
Makefile
3
Makefile
@ -384,7 +384,8 @@ package_offline: compile build modify_sourcefiles modify_composefile
|
||||
fi
|
||||
|
||||
@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)
|
||||
@rm -rf $(HARBORPKG)
|
||||
|
Loading…
Reference in New Issue
Block a user