From 27ecb4b69b5e9b41abc103ad0585aea2d01959db Mon Sep 17 00:00:00 2001 From: CJACK Date: Wed, 18 Feb 2026 21:42:25 +0800 Subject: [PATCH] feat: Implement response storage and retrieval, add embeddings API, and enhance tool call extraction logic. --- .github/workflows/release-artifacts.yml | 48 +++++++------------------ 1 file changed, 12 insertions(+), 36 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 504cf7b..67689cc 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -86,11 +86,19 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Log in to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Extract Docker metadata - id: meta + id: meta_release uses: docker/metadata-action@v5 with: - images: ghcr.io/${{ github.repository }} + images: | + ghcr.io/${{ github.repository }} + cjackhwang/ds2api tags: | type=raw,value=${{ github.event.release.tag_name }} type=raw,value=latest @@ -102,8 +110,8 @@ jobs: file: ./Dockerfile push: true platforms: linux/amd64,linux/arm64 - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + tags: ${{ steps.meta_release.outputs.tags }} + labels: ${{ steps.meta_release.outputs.labels }} - name: Export Docker image archives for release assets run: | @@ -135,35 +143,3 @@ jobs: dist/*.tar.gz dist/*.zip dist/sha256sums.txt - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to GHCR - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Extract Docker metadata - id: meta - uses: docker/metadata-action@v5 - with: - images: ghcr.io/${{ github.repository }} - tags: | - type=raw,value=${{ github.event.release.tag_name }} - type=raw,value=latest - - - name: Build and Push Docker Image - uses: docker/build-push-action@v6 - with: - context: . - file: ./Dockerfile - push: true - platforms: linux/amd64,linux/arm64 - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }}