build and push
This commit is contained in:
parent
5d1a7c80df
commit
0e44205407
@ -10,7 +10,7 @@ for dir in */; do
|
|||||||
cd "$dir"
|
cd "$dir"
|
||||||
|
|
||||||
# Run docker build and push
|
# Run docker build and push
|
||||||
docker buildx bake --push
|
docker buildx bake --load
|
||||||
|
|
||||||
# Change back to the parent directory
|
# Change back to the parent directory
|
||||||
cd ..
|
cd ..
|
||||||
|
17
push-all.sh
Executable file
17
push-all.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/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
|
Loading…
x
Reference in New Issue
Block a user