From af29dbee9fd0d03569b4c25fc3c05697291782f3 Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Sat, 8 Jun 2024 11:15:57 +0800 Subject: [PATCH] Check for docker image in remote repository --- docker_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_image.sh b/docker_image.sh index 450e029..8210965 100755 --- a/docker_image.sh +++ b/docker_image.sh @@ -6,7 +6,7 @@ echo "Getting latest tag version from duckdb" duckdb_version=$(git -C build/duckdb describe --tags --abbrev=0) image_name=datacatering/duckdb:"${duckdb_version}" -if [ -z "$(docker images -q "$image_name" 2> /dev/null)" ]; then +if [ -z "$(DOCKER_CLI_EXPERIMENTAL=enabled docker manifest inspect "$image_name" 2> /dev/null)" ]; then echo "Building for duckdb version: ${duckdb_version}" docker run --privileged --rm tonistiigi/binfmt --install all