Files
romm/docker/build_local_image.sh
2023-08-24 17:21:33 +02:00

7 lines
210 B
Bash
Executable File

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