mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-06-27 12:34:17 +00:00
Pass GH_TOKEN to containers started during tests
This commit is contained in:
@@ -46,7 +46,7 @@ setupOnlyMinecraftTest(){
|
||||
start=$(date +%s)
|
||||
status=PASSED
|
||||
verify=
|
||||
if ! logs=$(docker compose run --rm -e SETUP_ONLY=true -e DEBUG="${DEBUG:-false}" mc 2>&1); then
|
||||
if ! logs=$(docker compose run --rm -e SETUP_ONLY=true -e DEBUG="${DEBUG:-false}" -e GH_TOKEN="${GH_TOKEN:-}" mc 2>&1); then
|
||||
status=FAILED
|
||||
outputContainerLog "$logs"
|
||||
result=1
|
||||
|
||||
Reference in New Issue
Block a user