mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-22 17:50:13 +01:00
Merge pull request #85 from oceanprotocol/fix/force_pull
fix force pull
This commit is contained in:
commit
b97632d1b4
@ -63,7 +63,7 @@ while :; do
|
|||||||
printf $COLOR_Y'Switched to latest components...\n\n'$COLOR_RESET
|
printf $COLOR_Y'Switched to latest components...\n\n'$COLOR_RESET
|
||||||
;;
|
;;
|
||||||
--force-pull)
|
--force-pull)
|
||||||
export forcepull='true'
|
export forcepull="true"
|
||||||
printf $COLOR_Y'Pulling latest components...\n\n'$COLOR_RESET
|
printf $COLOR_Y'Pulling latest components...\n\n'$COLOR_RESET
|
||||||
;;
|
;;
|
||||||
#################################################
|
#################################################
|
||||||
@ -153,7 +153,7 @@ while :; do
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
printf $COLOR_Y'Starting Ocean...\n\n'$COLOR_RESET
|
printf $COLOR_Y'Starting Ocean...\n\n'$COLOR_RESET
|
||||||
if [[ forcepull == 'true' ]]
|
if [[ $forcepull == "true" ]]
|
||||||
then
|
then
|
||||||
docker-compose --project-name=$PROJECT_NAME $COMPOSE_FILES -f ${NODE_COMPOSE_FILE} pull
|
docker-compose --project-name=$PROJECT_NAME $COMPOSE_FILES -f ${NODE_COMPOSE_FILE} pull
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user