perf: avoid building docker image (#365)
* avoid building a custom image * fix: remove unnecessary double-dash * Rebuild with -- fix * linting * Remove unused variable * support windows as well * Fix -- command not found * Fix unused import, remove docker build test * no dockerfile anymore Co-authored-by: Webber Takken <webber.nl@gmail.com>
This commit is contained in:
20
dist/platforms/ubuntu/Dockerfile
vendored
20
dist/platforms/ubuntu/Dockerfile
vendored
@@ -1,20 +0,0 @@
|
||||
ARG IMAGE
|
||||
FROM $IMAGE
|
||||
|
||||
LABEL "com.github.actions.name"="Unity - Builder"
|
||||
LABEL "com.github.actions.description"="Build Unity projects for different platforms."
|
||||
LABEL "com.github.actions.icon"="box"
|
||||
LABEL "com.github.actions.color"="gray-dark"
|
||||
|
||||
LABEL "repository"="http://github.com/game-ci/unity-actions"
|
||||
LABEL "homepage"="http://github.com/game-ci/unity-actions"
|
||||
LABEL "maintainer"="Webber Takken <webber@takken.io>"
|
||||
|
||||
COPY default-build-script /UnityBuilderAction
|
||||
COPY platforms/ubuntu/steps /steps
|
||||
RUN chmod -R +x /steps
|
||||
COPY platforms/ubuntu/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
RUN ls
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
19
dist/platforms/windows/Dockerfile
vendored
19
dist/platforms/windows/Dockerfile
vendored
@@ -1,19 +0,0 @@
|
||||
ARG IMAGE
|
||||
FROM $IMAGE
|
||||
|
||||
LABEL "com.github.actions.name"="Unity - Builder"
|
||||
LABEL "com.github.actions.description"="Build Unity projects for different platforms."
|
||||
LABEL "com.github.actions.icon"="box"
|
||||
LABEL "com.github.actions.color"="gray-dark"
|
||||
|
||||
LABEL "repository"="http://github.com/game-ci/unity-actions"
|
||||
LABEL "homepage"="http://github.com/game-ci/unity-actions"
|
||||
LABEL "maintainer"="Webber Takken <webber@takken.io>"
|
||||
|
||||
COPY default-build-script c:/UnityBuilderAction
|
||||
COPY platforms/windows/steps c:/steps
|
||||
COPY platforms/windows/entrypoint.ps1 c:/entrypoint.ps1
|
||||
COPY BlankProject c:/BlankProject
|
||||
RUN dir
|
||||
|
||||
ENTRYPOINT ["powershell", "c:/entrypoint.ps1"]
|
||||
Reference in New Issue
Block a user