diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b957ee2e..e0277274 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -2,9 +2,7 @@ name: Docker Image CI on: push: - tags: - - 'v*.*.*' # 只在以 v 开头的标签推送时触发,例如 v1.0.0 - + branches: [ "main" ] jobs: release: name: Release Docker image @@ -25,8 +23,8 @@ jobs: - name: Log in to the GitHub Container Registry uses: docker/login-action@v3 with: - registry: ghcr.io - username: ${{ github.actor }} + registry: ${{ secrets.REGISTRY_URL }} + username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.TOKEN }} - name: Extract version from tag @@ -40,7 +38,5 @@ jobs: with: context: . push: true - tags: | - ghcr.io/${{ github.repository }}:${{ env.VERSION }} - ghcr.io/${{ github.repository }}:latest + tags: ${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_NAMESPACE }}/xiaozhi-esp32-server:latest platforms: linux/amd64,linux/arm64 diff --git a/docs/images/wechat.jpg b/docs/images/wechat.jpg index 7eade462..1ed29a2a 100644 Binary files a/docs/images/wechat.jpg and b/docs/images/wechat.jpg differ