feat: add goreleaser docker image publish
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user