Skip to content

Commit

Permalink
Replace docker/login-action in publisher with manual login (#54)
Browse files Browse the repository at this point in the history
Manually login

The action for some unknown reason isn't finding the `secrets.GITHUB_TOKEN` so hopefully bypassing it will solve the problem.
  • Loading branch information
lildude authored Jun 24, 2024
1 parent 5db4bb1 commit 6c1e14f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ jobs:
fi
- name: Login to GitHub Container Registry
uses: docker/[email protected]
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
Expand Down

0 comments on commit 6c1e14f

Please sign in to comment.