fix(memoh): CI asset embedding

This commit is contained in:
Ran
2026-02-24 19:49:06 +08:00
parent ffda558d24
commit 625d1bbe04
4 changed files with 6 additions and 4 deletions
+1
View File
@@ -164,6 +164,7 @@ jobs:
ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}
tags: |
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/main' }}
type=raw,value=${{ github.ref_name }}-dev,enable=${{ startsWith(github.ref, 'refs/heads/v') }}
type=raw,value=latest,enable=${{ github.event_name == 'release' || (startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, '-')) }}
type=ref,event=pr
type=semver,pattern={{version}}
+2
View File
@@ -0,0 +1,2 @@
*
!.gitignore
+1 -4
View File
@@ -8,10 +8,7 @@ import (
"runtime"
)
// Include underscore/dot-prefixed files from bundled build output (e.g. Vite helper chunks).
// Keep the explicit _plugin pattern to ensure helper chunks are embedded for production SPA routing.
//
//go:embed all:web all:web/assets/* all:web/assets/_plugin-vue_export-helper-*.js all:web/channels/* all:agent all:bun
//go:embed all:web all:agent all:bun
var assetsFS embed.FS
func AssetsFS() fs.FS {
+2
View File
@@ -0,0 +1,2 @@
*
!.gitignore