mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
7 lines
256 B
Bash
Executable File
7 lines
256 B
Bash
Executable File
#!/bin/bash
|
|
|
|
branch_name="$(git symbolic-ref HEAD 2>/dev/null)"
|
|
branch_name=${branch_name##refs/heads/}
|
|
branch_name=${branch_name//\//-} # Replace slashes with dashes
|
|
docker build -t "rommapp/romm-testing:local-${branch_name}" . --file ./docker/Dockerfile
|