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