Files
romm/docker/build_local_image.sh
Georges-Antoine Assi b2085f87a8 bunch of fixes for trunk
2024-05-21 17:10:11 -04:00

6 lines
185 B
Bash
Executable File

#!/bin/bash
branch_name="$(git symbolic-ref HEAD 2>/dev/null)"
branch_name=${branch_name##refs/heads/}
docker build -t "rommapp/romm:local-${branch_name}" . --file ./docker/Dockerfile