前端版本号从tag注入并提交本地配置

This commit is contained in:
root
2026-02-01 12:10:17 +00:00
parent 1f850593dd
commit 78aa86b23c
5 changed files with 27 additions and 2 deletions
+5 -1
View File
@@ -150,7 +150,11 @@ jobs:
- name: Prepare build args
run: |
echo "VITE_GITHUB_REPO=https://github.com/${{ github.repository }}" > ./vite-frontend/.env.production
VERSION="${{ needs.check-version.outputs.version }}"
{
echo "VITE_GITHUB_REPO=https://github.com/${{ github.repository }}"
echo "VITE_APP_VERSION=$VERSION"
} > ./vite-frontend/.env.production
- name: Build and push Vite Docker images
run: |