diff --git a/Jenkinsfile b/Jenkinsfile index 0aed38d..be85b82 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -473,7 +473,7 @@ PY test "$(cat build/docker-ready.rc 2>/dev/null || echo 1)" -eq 0 VERSION_TAG="$(cut -d= -f2 build.env)" for attempt in 1 2 3; do - if docker build --pull --tag "${FRONT_IMAGE}:${VERSION_TAG}" --tag "${FRONT_IMAGE}:latest" --file Dockerfile.frontend .; then + if docker build --tag "${FRONT_IMAGE}:${VERSION_TAG}" --tag "${FRONT_IMAGE}:latest" --file Dockerfile.frontend .; then break fi if [ "${attempt}" -eq 3 ]; then @@ -496,7 +496,7 @@ PY test "$(cat build/docker-ready.rc 2>/dev/null || echo 1)" -eq 0 VERSION_TAG="$(cut -d= -f2 build.env)" for attempt in 1 2 3; do - if docker build --pull --tag "${BACK_IMAGE}:${VERSION_TAG}" --tag "${BACK_IMAGE}:latest" --file Dockerfile.backend .; then + if docker build --tag "${BACK_IMAGE}:${VERSION_TAG}" --tag "${BACK_IMAGE}:latest" --file Dockerfile.backend .; then break fi if [ "${attempt}" -eq 3 ]; then