Skip to content

Commit

Permalink
chore: check image only if required
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <[email protected]>
  • Loading branch information
Dominik Rosiek committed May 28, 2024
1 parent e651719 commit 54e0af8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build-push-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ for IMAGE in ${IMAGES}; do

echo ${IMAGE_NAME}
if docker pull ${IMAGE_NAME}; then
if [[ "${CHECK}" == "true" ]]; then
make -C ${NAME} check IMAGE_NAME=${IMAGE_NAME} UPSTREAM_VERSION="${UPSTREAM_VERSION}"
fi
# as image exist, we can go to the next one
make -C ${NAME} check IMAGE_NAME=${IMAGE_NAME} UPSTREAM_VERSION="${UPSTREAM_VERSION}"
continue
fi

Expand Down

0 comments on commit 54e0af8

Please sign in to comment.