diff --git a/git-hangman-lab/scripts/publish-package b/git-hangman-lab/scripts/publish-package index b3c1805..c5b804c 100755 --- a/git-hangman-lab/scripts/publish-package +++ b/git-hangman-lab/scripts/publish-package @@ -90,9 +90,7 @@ do_docker() { REPO_NAME=$(basename "$REPO") curl -s -X POST \ -H "Authorization: token $TOKEN" \ - -H "Content-Type: application/json" \ - -d "{\"repo_name\": \"$REPO_NAME\"}" \ - "https://git.hangman-lab.top/api/v1/packages/${OWNER}/docker/${IMAGE}/-/link/${REPO_NAME}" || true + "https://git.hangman-lab.top/api/v1/packages/${OWNER}/container/${IMAGE}/-/link/${REPO_NAME}" || true lock-mgr release "$LOCKFILE" "$KEY"