diff --git a/unity-command/action.yaml b/unity-command/action.yaml index dce0b9d..24e11ba 100644 --- a/unity-command/action.yaml +++ b/unity-command/action.yaml @@ -40,7 +40,7 @@ runs: run: | CONTAINER=${{ steps.getContainer.outputs.container }} - docker build -t ${{ inputs.imageTag }} --build-arg IMAGE=$CONTAINER ${{ github.action_path }} + #docker build -t ${{ inputs.imageTag }} --build-arg IMAGE=$CONTAINER ${{ github.action_path }} shell: bash - name: "Run Unity command." uses: act/unity/unity@master @@ -50,6 +50,7 @@ runs: password: ${{ inputs.password }} command: ${{ inputs.command }} unityBuilder: ${{ inputs.unityBuilder }} + image: docker://${{ steps.getContainer.outputs.container }} - name: "Remove temporary image." run: | docker image rm ${{ inputs.imageTag }}