Some checks failed
		
		
	
	Lock closed issues/PRs / lock (push) Has been cancelled
				Test / Sentry self-hosted end-to-end tests (push) Has been cancelled
				Test / unit tests (push) Has been cancelled
				Test / Sentry upgrade test (push) Has been cancelled
				Test / integration test v2.19.0 - customizations disabled (push) Has been cancelled
				Test / integration test v2.19.0 - customizations enabled (push) Has been cancelled
				Test / integration test v2.26.0 - customizations disabled (push) Has been cancelled
				Test / integration test v2.26.0 - customizations enabled (push) Has been cancelled
				Signed-off-by: 小草林(田梓萱) <xcl@xuegao-tzx.top>
		
			
				
	
	
		
			24 lines
		
	
	
		
			698 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			698 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| if [ "${GITHUB_ACTIONS:-}" = "true" ]; then
 | |
|   _group="::group::"
 | |
|   _endgroup="::endgroup::"
 | |
| else
 | |
|   _group="▶ "
 | |
|   _endgroup=""
 | |
| fi
 | |
| 
 | |
| echo "${_group}Initializing Docker Compose ..."
 | |
| 
 | |
| # To support users that are symlinking to docker-compose
 | |
| dc_base="$(docker compose version &>/dev/null && echo 'docker compose' || echo 'docker-compose')"
 | |
| if [[ "$(basename $0)" = "install.sh" ]]; then
 | |
|   dc="$dc_base --ansi never --env-file ${_ENV}"
 | |
| else
 | |
|   dc="$dc_base --ansi never"
 | |
| fi
 | |
| proxy_args="--build-arg http_proxy=${http_proxy:-} --build-arg https_proxy=${https_proxy:-} --build-arg no_proxy=${no_proxy:-}"
 | |
| dcr="$dc run --rm"
 | |
| dcb="$dc build $proxy_args"
 | |
| dbuild="docker build $proxy_args"
 | |
| 
 | |
| echo "${_endgroup}"
 |