mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-18 12:51:27 +01:00
fix build_base_docker
Signed-off-by: Ziming Zhang <zziming@vmware.com>
This commit is contained in:
parent
d6cab4fb8e
commit
f16a816a47
2
Makefile
2
Makefile
@ -327,7 +327,7 @@ build_base_docker:
|
|||||||
@for name in chartserver clair clair-adapter core db jobservice log nginx notary-server notary-signer portal prepare redis registry registryctl; do \
|
@for name in chartserver clair clair-adapter core db jobservice log nginx notary-server notary-signer portal prepare redis registry registryctl; do \
|
||||||
echo $$name ; \
|
echo $$name ; \
|
||||||
$(DOCKERBUILD) --pull -f $(MAKEFILEPATH_PHOTON)/$$name/Dockerfile.base -t goharbor/harbor-$$name-base:$(BASEIMAGETAG) . && \
|
$(DOCKERBUILD) --pull -f $(MAKEFILEPATH_PHOTON)/$$name/Dockerfile.base -t goharbor/harbor-$$name-base:$(BASEIMAGETAG) . && \
|
||||||
$(PUSHSCRIPTPATH)/$(PUSHSCRIPTNAME) goharbor/harbor-$$name-base:$(BASEIMAGETAG) $(REGISTRYUSER) $(REGISTRYPASSWORD) || exit 1 \
|
$(PUSHSCRIPTPATH)/$(PUSHSCRIPTNAME) goharbor/harbor-$$name-base:$(BASEIMAGETAG) $(REGISTRYUSER) $(REGISTRYPASSWORD) || exit 1 ; \
|
||||||
done
|
done
|
||||||
@echo build_base_docker done
|
@echo build_base_docker done
|
||||||
|
|
||||||
|
@ -177,6 +177,7 @@ set -e
|
|||||||
if [ $upload_build == true ]; then
|
if [ $upload_build == true ]; then
|
||||||
cp ${harbor_offline_build_bundle} harbor-offline-installer-latest.tgz
|
cp ${harbor_offline_build_bundle} harbor-offline-installer-latest.tgz
|
||||||
cp ${harbor_offline_build_bundle}.asc harbor-offline-installer-latest.tgz.asc
|
cp ${harbor_offline_build_bundle}.asc harbor-offline-installer-latest.tgz.asc
|
||||||
|
ls -l
|
||||||
uploader ${harbor_offline_build_bundle} $harbor_target_bucket
|
uploader ${harbor_offline_build_bundle} $harbor_target_bucket
|
||||||
uploader ${harbor_offline_build_bundle}.asc $harbor_target_bucket
|
uploader ${harbor_offline_build_bundle}.asc $harbor_target_bucket
|
||||||
uploader ${harbor_online_build_bundle} $harbor_target_bucket
|
uploader ${harbor_online_build_bundle} $harbor_target_bucket
|
||||||
|
Loading…
Reference in New Issue
Block a user