File size: 322 Bytes
19c1f58 |
1 2 3 4 5 6 7 8 9 10 11 12 |
#!/usr/bin/env bash
# Set a default value for algorithm_name
algorithm_name="synthrad_algorithm_cbct"
# Check if a command-line argument is specified, and use it as the algorithm_name
if [ ! -z "$1" ]; then
algorithm_name="$1"
fi
./build.sh
docker save synthrad_algorithm_cbct | gzip -c > "${algorithm_name}.tar.gz" |