feat: add goreleaser docker image publish

This commit is contained in:
engigu
2024-01-27 22:43:58 +08:00
parent 849f768708
commit 6dc659357a
2 changed files with 14 additions and 2 deletions
+12
View File
@@ -43,6 +43,18 @@ jobs:
go-version: '>=1.20.2'
cache: true
- name: Install npm dependencies
run: npm i
working-directory: web/
- name: Run npm build
run: export NODE_ENV=prod && npm run build
working-directory: web/
- name: Check build static
run: ls dist/ -la
working-directory: web/
- name: Git File Restore
run: git checkout .
+2 -2
View File
@@ -25,7 +25,7 @@ dockers:
extra_files:
- LICENSE
- README.md
- conf/*
- conf/
use: buildx
build_flag_templates:
- --platform=linux/amd64
@@ -43,7 +43,7 @@ dockers:
extra_files:
- LICENSE
- README.md
- conf/*
- conf/
use: buildx
build_flag_templates:
- --platform=linux/arm64/v8