diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88c6e16..963c852 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,13 +9,11 @@ jobs: name: Build and push production image steps: - uses: actions/checkout@v3 - - name: Log in to GitHub Container Registry - run: echo "${{ secrets.GHCR_SECRET }}" | docker login ghcr.io -u ${{ secrets.GHCR_USER }} --password-stdin - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 with: name: bitfocus/companion-worker-modules registry: ghcr.io - username: ${{ secrets.GHCR_USER }} - password: ${{ secrets.GHCR_SECRET }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} tags: latest