Remove ToolResultInterceptor from kernel filters #379
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Push Docker Images | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: 'web-site/package.json' | |
| - name: Install frontend dependencies | |
| run: | | |
| cd web-site | |
| npm i | |
| - name: Build frontend | |
| run: | | |
| cd web-site | |
| npm run build | |
| - name: Copy frontend build to backend wwwroot | |
| run: | | |
| rm -rf src/KoalaWiki/wwwroot/* | |
| cp -r web-site/dist/* src/KoalaWiki/wwwroot/ | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to Docker Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: crpi-j9ha7sxwhatgtvj4.cn-shenzhen.personal.cr.aliyuncs.com | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - name: Build and push koala-wiki | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: src/KoalaWiki/Dockerfile | |
| platforms: linux/arm64,linux/amd64 | |
| push: true | |
| tags: | | |
| crpi-j9ha7sxwhatgtvj4.cn-shenzhen.personal.cr.aliyuncs.com/koala-ai/koala-wiki:latest | |
| crpi-j9ha7sxwhatgtvj4.cn-shenzhen.personal.cr.aliyuncs.com/koala-ai/koala-wiki:0.9.0 |