Using git token + pull image from ghcr.io for tests
@@ -119,8 +119,8 @@ jobs:
uses: docker/login-action@v1.10.0
with:
registry: ghcr.io
- username: ${{ secrets.GIT_USER }}
- password: ${{ secrets.GIT_TOKEN }}
+ username: ${{ github.repository_owner }}
+ password: ${{ secrets.GITHUB_TOKEN }}
- name: Set build arguments
if: needs.init.outputs.publish == 'false'
@@ -210,8 +210,8 @@ jobs:
- name: Pull Supervisor
if: needs.init.outputs.publish == 'true'
run: |
- docker pull homeassistant/amd64-hassio-supervisor:${{ needs.init.outputs.version }}
- docker tag homeassistant/amd64-hassio-supervisor:${{ needs.init.outputs.version }} homeassistant/amd64-hassio-supervisor:runner
+ docker pull ghcr.io/home-assistant/amd64-hassio-supervisor:${{ needs.init.outputs.version }}
+ docker tag ghcr.io/home-assistant/amd64-hassio-supervisor:${{ needs.init.outputs.version }} homeassistant/amd64-hassio-supervisor:runner
- name: Create the Supervisor
run: |
