#!/bin/bash #COMPOSE_DOCKER_CLI_BUILD=1 #DOCKER_BUILDKIT=1 #DOCKER_DEFAULT_PLATFORM=linux/amd64 # Loop through each directory for dir in */; do # Change into the directory cd "$dir" # Run docker build and push docker buildx bake --load # Change back to the parent directory cd .. done