mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-08-06 17:03:32 +02:00
fix: route fork Docker image publishes
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user