Skip to content

Commit 305e867

Browse files
committed
Fix IMAGE_REPO to include ghcr.io registry prefix for forks
The metadata step was only setting image_repo to the repository owner (e.g., 'chaptersix') instead of the full registry path ('ghcr.io/chaptersix'). This caused Docker to try pushing to Docker Hub instead of GHCR.
1 parent 1a397e1 commit 305e867

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
if [[ "$REPO_OWNER" == "temporalio" ]]; then
113113
echo "image_repo=temporalio" >> $GITHUB_OUTPUT
114114
else
115-
echo "image_repo=$REPO_OWNER" >> $GITHUB_OUTPUT
115+
echo "image_repo=ghcr.io/$REPO_OWNER" >> $GITHUB_OUTPUT
116116
fi
117117
118118
- name: Check if release is latest

0 commit comments

Comments
 (0)