Your Name 9453d61479
Some checks failed
Gitea Actions Demo / Build (push) Failing after 19s
:-'Generic Commit'
2025-05-29 18:49:59 +12:00

15 lines
356 B
Bash
Executable File

#!/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