Skip to content

Commit

Permalink
contrib/openshift: avoid patching when using upstream images
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Aug 22, 2024
1 parent 95a765f commit 002df72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contrib/openshift/build_and_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ patch_source() {
echo already patched >&2
return
fi
if [[ "${BUILDKIT_IMAGE%%/*}" = docker.io ]]; then
echo guessing no patching needed, based on BUILDKIT_IMAGE "(${BUILDKIT_IMAGE})" >&2
return
fi

( # Subshell to set a cleanup trap.
tmp=$(mktemp -d)
Expand Down

0 comments on commit 002df72

Please sign in to comment.