forked from Conjure-Tools/unity-runner
updated build scripts
This commit is contained in:
parent
046c8e195b
commit
18c2996685
@ -85,7 +85,8 @@ docker build \
|
|||||||
--build-arg BASE_IMAGE=${BASE_IMAGE} \
|
--build-arg BASE_IMAGE=${BASE_IMAGE} \
|
||||||
${ADDITIONAL_TAGS} \
|
${ADDITIONAL_TAGS} \
|
||||||
-t ${FULL_IMAGE} \
|
-t ${FULL_IMAGE} \
|
||||||
${DOCKER_BUILD_ARGS} dockerfiles/individual.dockerfile
|
${DOCKER_BUILD_ARGS} \
|
||||||
|
-f ./dockerfiles/individual.dockerfile .
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Error: Docker build failed."
|
echo "Error: Docker build failed."
|
||||||
|
|||||||
@ -92,13 +92,14 @@ echo "- Base: ${BASE_IMAGE}"
|
|||||||
echo "- Tag: ${DEST_TAG}"
|
echo "- Tag: ${DEST_TAG}"
|
||||||
echo "- Image: ${DEST_IMAGE}"
|
echo "- Image: ${DEST_IMAGE}"
|
||||||
|
|
||||||
docker build \
|
docker buildx build \
|
||||||
--platform ${PLATFORM} \
|
--platform ${PLATFORM} \
|
||||||
--build-arg "VERSION=${UNITY_VERSION}" \
|
--build-arg "VERSION=${UNITY_VERSION}" \
|
||||||
--build-arg "CHANGESET=${UNITY_CHANGESET}" \
|
--build-arg "CHANGESET=${UNITY_CHANGESET}" \
|
||||||
--build-arg "BASE_IMAGE=${BASE_IMAGE}" \
|
--build-arg "BASE_IMAGE=${BASE_IMAGE}" \
|
||||||
--build-arg "MODULE=${UNITY_MODULES}" \
|
--build-arg "MODULE=${UNITY_MODULES}" \
|
||||||
-t ${DEST_IMAGE} ${DOCKER_BUILD_ARGS} dockerfiles/runner.dockerfile
|
-t ${DEST_IMAGE} ${DOCKER_BUILD_ARGS} \
|
||||||
|
-f ./dockerfiles/runner.dockerfile .
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Error: Docker build failed."
|
echo "Error: Docker build failed."
|
||||||
|
|||||||
@ -8,6 +8,9 @@ A table of available Docker images for Unity CI/CD:
|
|||||||
| 6000.0.35f1 |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-android-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-ios-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-linux-il2cpp-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-mac-mono-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-webgl-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-windows-mono-runner) |
|
| 6000.0.35f1 |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-android-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-ios-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-linux-il2cpp-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-mac-mono-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-webgl-runner) |[🐳 View](https://docker.lakes.house/unityci/editor/tag/ubuntu-6000.0.35f1-windows-mono-runner) |
|
||||||
<!-- /table -->
|
<!-- /table -->
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
https://github.com/mob-sakai/unity-changeset/blob/main/src/unityGraphQL.ts
|
https://github.com/mob-sakai/unity-changeset/blob/main/src/unityGraphQL.ts
|
||||||
|
|||||||
@ -82,4 +82,4 @@ COPY scripts/build.sh /build.sh
|
|||||||
RUN chmod +x /build.sh
|
RUN chmod +x /build.sh
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
# ENTRYPOINT [ "/bin/bash" ]
|
# ENTRYPOINT [ "/bin/bash" ]~
|
||||||
Loading…
x
Reference in New Issue
Block a user