diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 16176e2..31105da 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -16,9 +16,11 @@ jobs: - name: Build and Push run: | - docker buildx create --use --name gitea-builder 2>/dev/null || true - docker buildx build --push \ - --provenance=false \ - --tag gitea.chatgqt.top/gqt/test-ci:latest \ - --label "org.opencontainers.image.source=https://gitea.chatgqt.top/gqt/test-ci" \ - . + docker build -t gitea.chatgqt.top/gqt/test-ci:latest . + 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"