build__common.sh: refactor var name
This commit is contained in:
parent
e19d08d3cc
commit
837486a0fa
|
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue