Skip to content

Commit

Permalink
Update DCH image tag (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtchin authored Sep 1, 2017
1 parent 079e6bb commit 5c92ce2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions installer/packer/scripts/provision_harbor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c92ce2

Please sign in to comment.