Skip to content

Commit 8d5306d

Browse files
committed
Add a sleep on Registry start in CircleCI
1 parent 09f55cb commit 8d5306d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dockerfiles/bin/run_integration_tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ docker create -v /etc/docker/registry --name config alpine:3.4 /bin/true
99
echo -n "${REGISTRY_PASSWORD}" | docker run --rm -i --entrypoint=htpasswd --volumes-from config nimmis/alpine-apache -i -B -c /etc/docker/registry/htpasswd bollard
1010
cat dockerfiles/registry/config.yml | docker run --rm -i --volumes-from config --entrypoint=tee alpine:3.4 /etc/docker/registry/config.yml
1111
docker run -d --restart always --name registry -p 5000:5000 --volumes-from config registry:2
12+
sleep 4
1213
docker login --username bollard --password "${REGISTRY_PASSWORD}" localhost:5000
1314
docker pull hello-world:linux
1415
docker pull fussybeaver/uhttpd

0 commit comments

Comments
 (0)