Switch ADD to COPY to conform with best practices, change ls to dir on windows dockerfile

pull/305/head
Andrew Kahr 2022-01-23 20:00:42 -08:00
parent 11ad776b4f
commit a3cadeaf30
2 changed files with 4 additions and 4 deletions

View File

@ -10,10 +10,10 @@ LABEL "repository"="http://github.com/game-ci/unity-actions"
LABEL "homepage"="http://github.com/game-ci/unity-actions" LABEL "homepage"="http://github.com/game-ci/unity-actions"
LABEL "maintainer"="Webber Takken <webber@takken.io>" LABEL "maintainer"="Webber Takken <webber@takken.io>"
ADD default-build-script /UnityBuilderAction COPY default-build-script /UnityBuilderAction
ADD platforms/ubuntu/steps /steps COPY platforms/ubuntu/steps /steps
RUN chmod -R +x /steps RUN chmod -R +x /steps
ADD platforms/ubuntu/entrypoint.sh /entrypoint.sh COPY platforms/ubuntu/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
RUN ls RUN ls

View File

@ -13,6 +13,6 @@ LABEL "maintainer"="Webber Takken <webber@takken.io>"
COPY default-build-script c:/UnityBuilderAction COPY default-build-script c:/UnityBuilderAction
COPY platforms/windows/steps c:/steps COPY platforms/windows/steps c:/steps
COPY platforms/windows/entrypoint.ps1 c:/entrypoint.ps1 COPY platforms/windows/entrypoint.ps1 c:/entrypoint.ps1
RUN ls RUN dir
ENTRYPOINT ["powershell", "c:/entrypoint.ps1"] ENTRYPOINT ["powershell", "c:/entrypoint.ps1"]