From 7e9a0c353132669a3b43c5f363dcc9b57b628893 Mon Sep 17 00:00:00 2001 From: hrz <1710360675@qq.com> Date: Sat, 8 Mar 2025 02:45:29 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=B5=8B=E8=AF=95=E6=96=B0=E7=89=88?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E8=87=AA=E5=8A=A8=E5=8C=96=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ade44b158..845c100f4 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -43,16 +43,16 @@ jobs: run: | echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV -# # 构建 xiaozhi-server 镜像 -# - name: Build and push xiaozhi-server -# uses: docker/build-push-action@v6 -# with: -# context: ./main/xiaozhi-server -# push: true -# tags: | -# ghcr.io/${{ github.repository }}:server_${{ env.VERSION }} -# ghcr.io/${{ github.repository }}:server_latest -# platforms: linux/amd64,linux/arm64 + # 构建 xiaozhi-server 镜像 + - name: Build and push xiaozhi-server + uses: docker/build-push-action@v6 + with: + context: ./main/xiaozhi-server + push: true + tags: | + ghcr.io/${{ github.repository }}:server_${{ env.VERSION }} + ghcr.io/${{ github.repository }}:server_latest + platforms: linux/amd64,linux/arm64 # 构建 manager-api 镜像 - name: Build and push manager-web