This commit is contained in:
2025-06-29 00:25:06 -07:00
parent 88428c9734
commit 18c6e9f59d
2 changed files with 4 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ runs:
# -t $CACHED_CONTAINER --build-arg IMAGE=$CONTAINER ${{ github.action_path }} # -t $CACHED_CONTAINER --build-arg IMAGE=$CONTAINER ${{ github.action_path }}
docker build -t $CACHED_CONTAINER --build-arg IMAGE=$CONTAINER ${{ github.action_path }} docker build -t $CACHED_CONTAINER --build-arg IMAGE=$CONTAINER ${{ github.action_path }}
docker tag $CACHED_CONTAINER ${{ inputs.imageTag }} # docker tag $CACHED_CONTAINER ${{ inputs.imageTag }}
shell: bash shell: bash
- name: "Get Unity Command." - name: "Get Unity Command."
id: command id: command
@@ -77,6 +77,7 @@ runs:
- name: "Run Unity command." - name: "Run Unity command."
uses: act/unity/unity@master uses: act/unity/unity@master
env: env:
UNITY_CONTAINER: ${{ steps.getContainer.outputs.container }}
SSH_PUBLIC_KEY: ${{ inputs.sshPublicKey }} SSH_PUBLIC_KEY: ${{ inputs.sshPublicKey }}
SSH_PRIVATE_KEY: ${{ inputs.sshPrivateKey }} SSH_PRIVATE_KEY: ${{ inputs.sshPrivateKey }}
CATCH_ERRORS: ${{ inputs.catchErrors }} CATCH_ERRORS: ${{ inputs.catchErrors }}

View File

@@ -20,7 +20,8 @@ inputs:
runs: runs:
using: docker using: docker
#This is a base "mock" image which is replaced by the correct image in the "unity-command" action at runtime. #This is a base "mock" image which is replaced by the correct image in the "unity-command" action at runtime.
image: docker://unityci/base:latest #image: docker://unityci/base:latest
image: docker://${{ env.UNITY_CONTAINER }}
args: args:
- ${{ inputs.serial }} - ${{ inputs.serial }}
- ${{ inputs.email }} - ${{ inputs.email }}