ci(bstein-home): avoid forced base image pulls
This commit is contained in:
parent
9a9704897f
commit
d706bd2b26
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user