Add some flawed changes to build.sh to try and debug JRE_VERSION

This commit is contained in:
Salt 2022-05-17 11:22:22 -05:00
parent e655849b38
commit 2a860d745d

View File

@ -2,7 +2,6 @@
# #
# Build the Docker image for a series of different Forge versions # Build the Docker image for a series of different Forge versions
# #
set -e set -e
# MC version list # MC version list
@ -31,6 +30,8 @@ docker buildx create --use
for mc in ${mcversions[@]}; do for mc in ${mcversions[@]}; do
forge="${forgeversions[$mc]}" forge="${forgeversions[$mc]}"
jre="${jreversions[$mc]}" jre="${jreversions[$mc]}"
CI_HUB_USERNAME="${CI_HUB_USERNAME:=rehashedsalt}"
CI_PROJECT_NAME="${CI_PROJECT_NAME:=minecraft-forge}"
tag="$CI_HUB_USERNAME/$CI_PROJECT_NAME:$mc-$forge-$jre-${CI_COMMIT_REF_NAME:=bleeding}" tag="$CI_HUB_USERNAME/$CI_PROJECT_NAME:$mc-$forge-$jre-${CI_COMMIT_REF_NAME:=bleeding}"
echo "Building image..." echo "Building image..."
echo " Minecraft: $mc" echo " Minecraft: $mc"