From 6c1e14f6fd9e8344925869a12d7d73ad66775c89 Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Mon, 24 Jun 2024 11:12:44 +0100 Subject: [PATCH] Replace docker/login-action in publisher with manual login (#54) Manually login The action for some unknown reason isn't finding the `secrets.GITHUB_TOKEN` so hopefully bypassing it will solve the problem. --- .github/workflows/publisher.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/publisher.yaml b/.github/workflows/publisher.yaml index f7b4ce9..5a87511 100644 --- a/.github/workflows/publisher.yaml +++ b/.github/workflows/publisher.yaml @@ -35,11 +35,7 @@ jobs: fi - name: Login to GitHub Container Registry - uses: docker/login-action@v3.2.0 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin - name: Build and publish uses: home-assistant/builder@master