From 4adf94f24b501b6de58e010ab98ea1c0ec9f93e7 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Thu, 13 Apr 2023 10:28:01 -0600 Subject: [PATCH] Update ci.yml Action: Use github.repository and github.actor instead --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea7c721..9f1b82c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: with: images: | ${{ secrets.DOCKER_USERNAME }}/jellyplex-watched,enable=${{ secrets.DOCKER_USERNAME != '' }} - ghcr.io/${{ github.repository_owner }}/jellyplex-watched + ghcr.io/${{ github.repository }} tags: | type=raw,value=latest,enable=${{ matrix.variant == 'alpine' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} type=raw,value=latest,suffix=-${{ matrix.variant }},enable={{ is_default_branch }} @@ -71,7 +71,7 @@ jobs: uses: docker/login-action@v2 with: registry: ghcr.io - username: ${{ github.repository_owner }} + username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build