Update ci.yml

Action: Use github.repository and github.actor instead
This commit is contained in:
Luigi311
2023-04-13 10:28:01 -06:00
committed by GitHub
parent 1a0fab36d3
commit 4adf94f24b

View File

@@ -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