Use the GitHub Container Registry, instead of DockerHub (#46)
This commit is contained in:
+4
-3
@@ -86,7 +86,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
echo "::set-output name=version::${version}"
|
echo "::set-output name=version::${version}"
|
||||||
|
|
||||||
docker pull -q "homeassistant/home-assistant:${version}"
|
docker pull -q "ghcr.io/home-assistant/home-assistant:${version}"
|
||||||
|
|
||||||
- name: 🏗 Register Home Assistant problem matcher
|
- name: 🏗 Register Home Assistant problem matcher
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -96,17 +96,18 @@ runs:
|
|||||||
|
|
||||||
- name: 🚀 Run Home Assistant Configuration Check
|
- name: 🚀 Run Home Assistant Configuration Check
|
||||||
shell: bash
|
shell: bash
|
||||||
|
# yamllint disable rule:line-length
|
||||||
run: |
|
run: |
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--entrypoint "" \
|
--entrypoint "" \
|
||||||
"homeassistant/home-assistant:${{ steps.version.outputs.version }}" \
|
"ghcr.io/home-assistant/home-assistant:${{ steps.version.outputs.version }}" \
|
||||||
python -m homeassistant --version
|
python -m homeassistant --version
|
||||||
|
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--entrypoint "" \
|
--entrypoint "" \
|
||||||
-v $(pwd):/github/workspace \
|
-v $(pwd):/github/workspace \
|
||||||
--workdir /github/workspace \
|
--workdir /github/workspace \
|
||||||
"homeassistant/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