Skip to content

Commit

Permalink
Restore build.sh to ye olden time of 30min ago
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahJack authored Aug 21, 2023
1 parent d98128d commit 8ee969d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ UNITY_VERSION=2019.4.35f1
GAME_CI_VERSION=1 # https://github.com/game-ci/docker/releases
MY_USERNAME=josiahjack

declare -a components=("android-2.0.0") #"linux-il2cpp" "mac-mono" "windows-mono")
declare -a components=("linux-il2cpp" "mac-mono" "windows-mono")

for component in "${components[@]}"
do
GAME_CI_UNITY_EDITOR_IMAGE=unityci/editor:ubuntu-${UNITY_VERSION}-${component} #-${GAME_CI_VERSION}
IMAGE_TO_PUBLISH=${MY_USERNAME}/citadel-ci:ubuntu-${UNITY_VERSION}-${component} #-${GAME_CI_VERSION}
GAME_CI_UNITY_EDITOR_IMAGE=unityci/editor:ubuntu-${UNITY_VERSION}-${component}-${GAME_CI_VERSION}
IMAGE_TO_PUBLISH=${MY_USERNAME}/citadel-ci:ubuntu-${UNITY_VERSION}-${component}-${GAME_CI_VERSION}
docker build --build-arg GAME_CI_UNITY_EDITOR_IMAGE=${GAME_CI_UNITY_EDITOR_IMAGE} . -t ${IMAGE_TO_PUBLISH}
# uncomment the following to publish the built images to docker
# Do this whenever Unity version or host docker hub account changes
docker push ${IMAGE_TO_PUBLISH}
# docker push ${IMAGE_TO_PUBLISH}
done

0 comments on commit 8ee969d

Please sign in to comment.