diff --git a/jupyter-base/build.sh b/jupyter-base/build.sh index 6b34fda..d8a42fe 100644 --- a/jupyter-base/build.sh +++ b/jupyter-base/build.sh @@ -14,8 +14,14 @@ else exit 1 fi +format="" +if [ "$imcmd" == "podman" ]; then + format="--format docker" +fi + branch=$(git symbolic-ref --short HEAD) $imcmd build \ + $format \ "$@" \ --tag registry.spin.nersc.gov/das/jupyter-base-$branch:latest .