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