Fixed wrong comparision.
This commit is contained in:
5
build.sh
5
build.sh
@@ -4,10 +4,9 @@ IMAGE_NAME="azure-image-chooser"
|
||||
#IMAGE="docker.io/skoszewski/$IMAGE_NAME"
|
||||
IMAGE="skdomlab.azurecr.io/$IMAGE_NAME"
|
||||
|
||||
if [ "$(command -v docker)" = "docker" ]
|
||||
then
|
||||
if [ "$(basename $(command -v docker))" = "docker" ]; then
|
||||
CMD="docker"
|
||||
elif [ "$(command -v podman)" = "podman" ]; then
|
||||
elif [ "$(basename $(command -v podman))" = "podman" ]; then
|
||||
CMD="podman"
|
||||
else
|
||||
echo "No suitable container tool found"
|
||||
|
||||
Reference in New Issue
Block a user