php-fpm/push-all.sh

18 lines
314 B
Bash
Executable File

#!/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 --push
# Change back to the parent directory
cd ..
done