From 13c4cbc1666b5fd2128f65aa73851d17fce840c2 Mon Sep 17 00:00:00 2001 From: Benoit Dion Date: Sat, 18 Jul 2020 09:35:16 -0400 Subject: [PATCH] Pin to working unity-3d image After initial investigation, it seems https://gitlab.com/gableroux/unity3d/-/commit/4d1eaa74cbec79386cda4f797e1db63ebcda1c20 and related commits broke the unity-builder android builds. Unity is no longer able to find the Android Tools or the JDK. I was able to modify the Dockerfile to export an `ANDROID_HOME` env variable to get past the first issue but so far haven't found how to configure the Unity JDK location. Setting a `JAVA_HOME` env variable doesn't seem to help. Until we find a fix upstream (https://gitlab.com/gableroux/unity3d), pinning to an older version of the unity-3d image. We probably don't want to merge this since the image hash isn't going to work on all platforms. --- action/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/Dockerfile b/action/Dockerfile index 8392281b..e551820d 100644 --- a/action/Dockerfile +++ b/action/Dockerfile @@ -1,5 +1,5 @@ ARG IMAGE -FROM $IMAGE +FROM $IMAGE@sha256:264c17ca3563d08574f436b12aa39c63a3c72c813d16428234c36a085e75bb06 LABEL "com.github.actions.name"="Unity - Builder" LABEL "com.github.actions.description"="Build Unity projects for different platforms."