mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
update Makefile
This commit is contained in:
parent
3c16d6c1a1
commit
1e90b1eab6
8
Makefile
8
Makefile
@ -84,7 +84,7 @@ NGINXVERSION=1.11.5
|
|||||||
PHOTONVERSION=1.0
|
PHOTONVERSION=1.0
|
||||||
NOTARYVERSION=server-0.5.0
|
NOTARYVERSION=server-0.5.0
|
||||||
NOTARYSIGNERVERSION=signer-0.5.0
|
NOTARYSIGNERVERSION=signer-0.5.0
|
||||||
MARIADBVERSION=10.1.10
|
MARIADBVERSION=mariadb-10.1.10
|
||||||
HTTPPROXY=
|
HTTPPROXY=
|
||||||
|
|
||||||
#clarity parameters
|
#clarity parameters
|
||||||
@ -304,10 +304,10 @@ package_offline: compile build modify_composefile
|
|||||||
@$(DOCKERPULL) registry:$(REGISTRYVERSION)
|
@$(DOCKERPULL) registry:$(REGISTRYVERSION)
|
||||||
@$(DOCKERPULL) nginx:$(NGINXVERSION)
|
@$(DOCKERPULL) nginx:$(NGINXVERSION)
|
||||||
@if [ "$(NOTARYFLAG)" = "true" ] ; then \
|
@if [ "$(NOTARYFLAG)" = "true" ] ; then \
|
||||||
echo "pulling notary and mariadb..."; \
|
echo "pulling notary and harbor-notary-db..."; \
|
||||||
$(DOCKERPULL) vmware/notary-photon:$(NOTARYVERSION); \
|
$(DOCKERPULL) vmware/notary-photon:$(NOTARYVERSION); \
|
||||||
$(DOCKERPULL) vmware/notary-photon:$(NOTARYSIGNERVERSION); \
|
$(DOCKERPULL) vmware/notary-photon:$(NOTARYSIGNERVERSION); \
|
||||||
$(DOCKERPULL) mariadb:$(MARIADBVERSION); \
|
$(DOCKERPULL) vmware/harbor-notary-db:$(MARIADBVERSION); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@echo "saving harbor docker image"
|
@echo "saving harbor docker image"
|
||||||
@ -319,7 +319,7 @@ package_offline: compile build modify_composefile
|
|||||||
$(DOCKERIMAGENAME_DB):$(VERSIONTAG) \
|
$(DOCKERIMAGENAME_DB):$(VERSIONTAG) \
|
||||||
$(DOCKERIMAGENAME_JOBSERVICE):$(VERSIONTAG) \
|
$(DOCKERIMAGENAME_JOBSERVICE):$(VERSIONTAG) \
|
||||||
nginx:$(NGINXVERSION) registry:$(REGISTRYVERSION) photon:$(PHOTONVERSION) \
|
nginx:$(NGINXVERSION) registry:$(REGISTRYVERSION) photon:$(PHOTONVERSION) \
|
||||||
vmware/notary-photon:$(NOTARYVERSION) vmware/notary-photon:$(NOTARYSIGNERVERSION) mariadb:$(MARIADBVERSION); \
|
vmware/notary-photon:$(NOTARYVERSION) vmware/notary-photon:$(NOTARYSIGNERVERSION) vmware/harbor-notary-db:$(MARIADBVERSION); \
|
||||||
else \
|
else \
|
||||||
$(DOCKERSAVE) -o $(HARBORPKG)/$(DOCKERIMGFILE).$(VERSIONTAG).tgz \
|
$(DOCKERSAVE) -o $(HARBORPKG)/$(DOCKERIMGFILE).$(VERSIONTAG).tgz \
|
||||||
$(DOCKERIMAGENAME_ADMINSERVER):$(VERSIONTAG) \
|
$(DOCKERIMAGENAME_ADMINSERVER):$(VERSIONTAG) \
|
||||||
|
Loading…
Reference in New Issue
Block a user