Make image variable

This commit is contained in:
Webber
2020-01-29 20:48:50 +01:00
committed by Webber Takken
parent 02967cea9e
commit d786d61c77
2 changed files with 8 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
FROM gableroux/unity3d:2019.2.11f1
ARG IMAGE
FROM $IMAGE
LABEL "com.github.actions.name"="Unity - Activate"
LABEL "com.github.actions.description"="Activate Unity using credentials or a license file. Both personal and professional licenses are supported."

View File

@@ -1,5 +1,11 @@
#!/usr/bin/env bash
#
# Display the unity version
#
echo "Activating Unity version \"$UNITY_VERSION\"."
if [[ -n "$UNITY_LICENSE" ]]; then
#
# PERSONAL LICENSE MODE