build__common.sh: refactor var name

This commit is contained in:
pedro 2024-01-24 14:49:17 +01:00
parent e19d08d3cc
commit 837486a0fa
1 changed files with 3 additions and 3 deletions

View File

@ -36,12 +36,12 @@ common_start() {
common_end() { common_end() {
idhub_dc_f="docker-compose__${pilot}.yml" dc_file="docker-compose__${pilot}.yml"
docker compose -p ${pilot} -f ${idhub_dc_f} down -v || true docker compose -p ${pilot} -f ${dc_file} down -v || true
make idhub_build make idhub_build
if [ "${action:-}" = "deploy" ]; then if [ "${action:-}" = "deploy" ]; then
docker compose -p ${pilot} -f ${idhub_dc_f} up ${detach:-} docker compose -p ${pilot} -f ${dc_file} up ${detach:-}
fi fi
} }