Skip to content

Commit

Permalink
Check for docker image in remote repository
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Jun 8, 2024
1 parent 9360e45 commit af29dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af29dbe

Please sign in to comment.