:-'Generic Commit'
Some checks failed
Gitea Actions Demo / Build (push) Failing after 19s

This commit is contained in:
Your Name
2025-05-29 18:49:59 +12:00
parent c15e91cde8
commit 9453d61479
4 changed files with 52 additions and 4 deletions

14
build.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
set -euo pipefail
# iterate through the docker files in format Dockerfile.IMAGE_NAME
for dockerfile in Dockerfile.*
do
# get the image name from the dockerfile
image_name="${dockerfile//Dockerfile./}"
# build the gitea.jde.nz/public/bb64:debian-curl docker image
docker build -t "$image_name:latest" -f "$dockerfile" .
done