diff --git a/installer/packer/scripts/provision_harbor.sh b/installer/packer/scripts/provision_harbor.sh index cd5603e576..9e124573b2 100644 --- a/installer/packer/scripts/provision_harbor.sh +++ b/installer/packer/scripts/provision_harbor.sh @@ -51,11 +51,12 @@ docker images # Load DCH into Harbor dch_image="vmware/dch-photon:1.13" +dch_tag="dch-photon:1.13" docker pull $dch_image docker run -d --name dch-push -v /data/harbor/registry:/var/lib/registry -p 5000:5000 vmware/registry:2.6.2-photon -docker tag $dch_image 127.0.0.1:5000/default-project/$dch_image +docker tag $dch_image 127.0.0.1:5000/default-project/$dch_tag sleep 3 -docker push 127.0.0.1:5000/default-project/$dch_image +docker push 127.0.0.1:5000/default-project/$dch_tag docker rm -f dch-push # Copy configuration data from tarball