Tweak to Docker run command for HA check.
This commit is contained in:
+3
-1
@@ -109,11 +109,13 @@ runs:
|
||||
if [[ -f "${{ inputs.env_file }}" ]]; then
|
||||
env_file_arg="--env-file ${{ inputs.env_file }}"
|
||||
fi
|
||||
pwd
|
||||
echo "Workspace dir is ${GITHUB_WORKSPACE}"
|
||||
docker run --rm \
|
||||
--entrypoint "" \
|
||||
--volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
||||
$env_file_arg \
|
||||
--workdir ${{ github.workspace }} \
|
||||
--workdir /github/workspace \
|
||||
"ghcr.io/home-assistant/home-assistant:${{ steps.version.outputs.version }}" \
|
||||
python -m homeassistant \
|
||||
--config "${{ steps.check.outputs.path }}" \
|
||||
|
||||
Reference in New Issue
Block a user