feat: use buildx instead of build
All checks were successful
Build and Push Docker Image / build (push) Successful in 6m5s
All checks were successful
Build and Push Docker Image / build (push) Successful in 6m5s
This commit is contained in:
parent
4066f53d6d
commit
f52869f963
@ -9,7 +9,7 @@ for dir in builds/*/ ; do
|
|||||||
folder_name=$(basename $dir)
|
folder_name=$(basename $dir)
|
||||||
|
|
||||||
# Build the Docker image
|
# Build the Docker image
|
||||||
docker build --platform linux/amd64,linux/arm64 -t caddy-$folder_name $dir
|
docker buildx build --platform linux/amd64,linux/arm64 -t caddy-$folder_name $dir
|
||||||
|
|
||||||
# Tag the Docker image for pushing to the repository
|
# Tag the Docker image for pushing to the repository
|
||||||
docker tag caddy-$folder_name linloir/caddy-$folder_name
|
docker tag caddy-$folder_name linloir/caddy-$folder_name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user