update:测试新版镜像自动化编译

This commit is contained in:
hrz 2025-03-08 02:45:29 +08:00
parent 3e1a0dbb35
commit 7e9a0c3531

View file

@ -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