fix: route fork Docker image publishes

This commit is contained in:
yellowcooln
2026-07-01 23:15:19 -04:00
parent add7011c21
commit 4a7720e7ae
+3 -3
View File
@@ -10,14 +10,14 @@ on:
image_repository:
description: "Docker image repository to publish to"
required: false
default: "openhop/openhop-repeater"
default: ""
jobs:
docker:
if: |
github.event_name == 'workflow_dispatch' ||
github.repository == 'openhop-dev/openhop_repeater' ||
github.repository == 'yellowcooln/openhop_repeater'
github.repository_owner == 'yellowcooln'
runs-on: ubuntu-latest
permissions:
contents: read
@@ -58,7 +58,7 @@ jobs:
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ -n "${{ inputs.image_repository }}" ]; then
image_repository="${{ inputs.image_repository }}"
elif [ "${{ github.repository }}" = "yellowcooln/openhop_repeater" ]; then
elif [ "${{ github.repository_owner }}" = "yellowcooln" ]; then
image_repository="yellowcooln/openhop-repeater"
else
image_repository="openhop/openhop-repeater"