From 7945b96068f73e0827c9fba7af70ec57c24e8c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Thu, 12 Jan 2017 16:20:59 +0100 Subject: [PATCH] added sleep 10 to dockerhub buildhook --- hooks/build | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/build b/hooks/build index 49b2204..3bfc5e4 100755 --- a/hooks/build +++ b/hooks/build @@ -8,6 +8,7 @@ for DOCKER_IMAGE in ${DOCKER_IMAGES}; do echo "Build Zammad Docker image ${DOCKER_IMAGE} for DockerHubs ${DOCKER_REPO}:${DOCKER_IMAGE} repo" + sleep 10 docker build --no-cache --build-arg BUILD_DATE=$(date -u +”%Y-%m-%dT%H:%M:%SZ”) -t ${DOCKER_REPO}:${DOCKER_IMAGE} -f containers/${DOCKER_IMAGE}/Dockerfile . docker push ${DOCKER_REPO}:${DOCKER_IMAGE}