Skip to content

Commit

Permalink
try pushing to actor registry instead of owner
Browse files Browse the repository at this point in the history
  • Loading branch information
infotroph committed Nov 5, 2024
1 parent 86060a0 commit 400e4d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
REGISTRY=$(
[[ ${{ github.event_name }} == 'pull_request' ]] &&
echo "ghcr.io/${{ github.repository_owner }}" ||
echo "ghcr.io/${{ github.actor }}/${{ github.repository }}" ||
echo "docker.io/pecan")
echo "PARENT_IMAGE_IF_SET=$(
[[ -n '${{ inputs.parent-image }}' ]] &&
Expand All @@ -71,7 +71,7 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
name=ghcr.io/${{ github.repository_owner }}/${{ steps.name.outputs.image_name }}
name=ghcr.io/${{ github.actor }}/${{ github.repository }}/${{ steps.name.outputs.image_name }}
name=pecan/${{ steps.name.outputs.image_name }},enable=${{ github.event_name != 'pull_request' }}
# generate Docker tags based on the following events/attributes
tags: |
Expand Down

0 comments on commit 400e4d2

Please sign in to comment.