Skip to content

Commit 48b46ea

Browse files
committed
Do not use the user's container registry
1 parent 4b43429 commit 48b46ea

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ permissions:
88

99
env:
1010
REGISTRY: ghcr.io
11+
IMAGE_NAME: ${{ github.repository }}
1112
BUILD_TYPE: Release
1213

1314
jobs:
@@ -55,16 +56,6 @@ jobs:
5556
username: ${{ github.actor }}
5657
password: ${{ secrets.GITHUB_TOKEN }}
5758

58-
# Use fork owner's container registry in pull request CI
59-
# - this solution assumes the fork is <username>/SYCL-Samples
60-
- name: Set image name
61-
run: |
62-
IMAGE_NAME=${{ github.repository }}
63-
REPO_OWNER=${{ github.repository_owner }}
64-
ACTOR=${{ github.actor }}
65-
IMAGE_NAME=${IMAGE_NAME/$REPO_OWNER/$ACTOR}
66-
echo IMAGE_NAME=${IMAGE_NAME} >> $GITHUB_ENV
67-
6859
- name: Extract metadata
6960
id: meta
7061
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1

0 commit comments

Comments
 (0)