ci: auto-link package to repo via API after push
Some checks failed
Build and Push Docker Image / build (push) Failing after 31s
Some checks failed
Build and Push Docker Image / build (push) Failing after 31s
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user