Skip to content

Commit

Permalink
Update build.sh to exclude pushing now that it is in remote
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahJack authored Jul 11, 2023
1 parent b9ebc52 commit 5fda6bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ 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}
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 hub
docker push ${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}
done

0 comments on commit 5fda6bb

Please sign in to comment.