ci(bstein-home): avoid forced base image pulls

This commit is contained in:
codex 2026-04-21 16:49:15 -03:00
parent 9a9704897f
commit d706bd2b26

4
Jenkinsfile vendored
View File

@ -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