From 04d18918919dffd94ce6c77b314f46065eb20817 Mon Sep 17 00:00:00 2001 From: xbingW Date: Thu, 3 Apr 2025 14:43:50 +0800 Subject: [PATCH] fix: ci --- .github/workflows/slmcp-docker.yml | 37 ++++++++++++++++-------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/workflows/slmcp-docker.yml b/.github/workflows/slmcp-docker.yml index 62f3a1f..37013dc 100644 --- a/.github/workflows/slmcp-docker.yml +++ b/.github/workflows/slmcp-docker.yml @@ -16,23 +16,26 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + - name: test + run: | + echo "test" - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + # - name: Set up Docker Buildx + # uses: docker/setup-buildx-action@v3 - - name: Login to DockerHub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + # - name: Login to DockerHub + # uses: docker/login-action@v3 + # with: + # username: ${{ secrets.DOCKERIO_USERNAME }} + # password: ${{ secrets.DOCKERIO_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: ./slmcp - push: true - tags: | - chaitin/safeline-mcp:latest - chaitin/safeline-mcp:${{ github.ref_name }} - cache-from: type=registry,ref=chaitin/safeline-mcp:buildcache - cache-to: type=registry,ref=chaitin/safeline-mcp:buildcache,mode=max + # - name: Build and push + # uses: docker/build-push-action@v5 + # with: + # context: ./slmcp + # push: true + # tags: | + # chaitin/safeline-mcp:latest + # chaitin/safeline-mcp:${{ github.ref_name }} + # cache-from: type=registry,ref=chaitin/safeline-mcp:buildcache + # cache-to: type=registry,ref=chaitin/safeline-mcp:buildcache,mode=max