Skip to content

Commit

Permalink
Use repository owner variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Jul 29, 2023
1 parent 1825d6c commit fd86b81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
- name: Push to XboxDev group
run: |
if [ "${{ matrix.tag }}" == "latest" ]; then
TARGET="ghcr.io/xboxdev/nxdk"
TARGET="ghcr.io/${{ github.repository_owner }}/nxdk"
else
TARGET="ghcr.io/xboxdev/nxdk-${{ matrix.tag }}"
TARGET="ghcr.io/${{ github.repository_owner }}/nxdk-${{ matrix.tag }}"
fi
docker tag ghcr.io/${{ github.repository }}:${{ matrix.tag }} ${TARGET}:latest
docker tag ghcr.io/${{ github.repository }}:${{ matrix.tag }} ${TARGET}:git-${GITHUB_SHA::8}
Expand Down

0 comments on commit fd86b81

Please sign in to comment.