ci: auto-link package to repo via API after push
Some checks failed
Build and Push Docker Image / build (push) Failing after 31s

This commit is contained in:
2026-02-08 13:22:18 +08:00
parent 9a9901d851
commit d6314b8e23

View File

@@ -19,3 +19,9 @@ jobs:
- name: Push Docker Image - name: Push Docker Image
run: docker push gitea.chatgqt.top/gqt/test-ci:latest run: docker push gitea.chatgqt.top/gqt/test-ci:latest
- name: Link Package to Repository
run: |
curl -s -X POST \
-u "${{ gitea.actor }}:${{ secrets.REGISTRY_TOKEN }}" \
"https://gitea.chatgqt.top/api/v1/packages/gqt/container/test-ci/-/link/test-ci"