From 4f97013df432f4b8c5fe0d99dc15c55e7438cae3 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 20 Sep 2021 13:41:35 +0200 Subject: [PATCH] Using git token + pull image from ghcr.io for tests (#3132) --- .github/workflows/builder.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 8c727fe0a..abfbced19 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -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: |