Set build args for container
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,4 +1,8 @@
|
||||
FROM gableroux/unity3d:2019.2.11f1-webgl
|
||||
ARG IMAGE_REPOSITORY
|
||||
ARG IMAGE_NAME
|
||||
ARG IMAGE_VERSION
|
||||
|
||||
FROM $IMAGE_REPOSITORY/$IMAGE_NAME:$IMAGE_VERSION
|
||||
|
||||
LABEL "com.github.actions.name"="Unity - Builder"
|
||||
LABEL "com.github.actions.description"="Build Unity projects for different platforms."
|
||||
@@ -9,9 +13,9 @@ LABEL "repository"="http://github.com/webbertakken/unity-actions"
|
||||
LABEL "homepage"="http://github.com/webbertakken/unity-actions"
|
||||
LABEL "maintainer"="Webber Takken <webber@takken.io>"
|
||||
|
||||
ENV BUILD_TARGET=WebGL
|
||||
|
||||
ADD default-build-script /UnityBuilderAction
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user