Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Commit ad19a2b

Browse files
matejvasekclaude
andcommitted
fix: replace hardcoded repo owner in CI workflow
Use github.repository_owner and github.repository context variables instead of hardcoded "twoGiants/func-console" so the workflow works correctly for forks and repo transfers. Signed-off-by: Matej Vašek <matejvasek@gmail.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1449169 commit ad19a2b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
2121

2222
env:
23-
IMAGE: ghcr.io/twogiants/console-functions-plugin
23+
IMAGE: ghcr.io/${{ github.repository_owner }}/console-functions-plugin
2424

2525
jobs:
2626
# --------
@@ -116,9 +116,9 @@ jobs:
116116
cache-from: type=gha
117117
annotations: |
118118
index:org.opencontainers.image.description=Serverless Functions Console Plugin for OpenShift
119-
index:org.opencontainers.image.source=https://github.com/twoGiants/func-console
120-
index:org.opencontainers.image.vendor=https://github.com/twoGiants/func-console
121-
index:org.opencontainers.image.url=https://github.com/twoGiants/func-console/pkgs/container/console-functions-plugin
119+
index:org.opencontainers.image.source=https://github.com/${{ github.repository }}
120+
index:org.opencontainers.image.vendor=https://github.com/${{ github.repository }}
121+
index:org.opencontainers.image.url=https://github.com/${{ github.repository }}/pkgs/container/console-functions-plugin
122122
123123
# Attestation is required for OCP.
124124
- name: Attest Build Provenance

0 commit comments

Comments
 (0)