Skip to content

Commit 56191c8

Browse files
committed
build: try the users api
1 parent bd8b9bb commit 56191c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ jobs:
324324
local package_name=$(echo "${image_tag}" | rev | cut -d: -f2- | cut -d/ -f1 | rev)
325325
local repo_name='${{ github.repository }}'
326326
local owner='${{ github.repository_owner }}'
327-
local url="https://api.github.com/orgs/${owner}/packages/container/${package_name}/versions"
327+
local url="https://api.github.com/users/${owner}/packages/container/${package_name}/versions"
328328
local versions_json="$(curl -s \
329329
-H "X-GitHub-Api-Version: 2022-11-28" \
330330
-H "Accept: application/vnd.github+json" \

0 commit comments

Comments
 (0)