feat: add goreleaser docker image publish
This commit is contained in:
@@ -43,6 +43,18 @@ jobs:
|
|||||||
go-version: '>=1.20.2'
|
go-version: '>=1.20.2'
|
||||||
cache: true
|
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
|
- name: Git File Restore
|
||||||
run: git checkout .
|
run: git checkout .
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -25,7 +25,7 @@ dockers:
|
|||||||
extra_files:
|
extra_files:
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- README.md
|
- README.md
|
||||||
- conf/*
|
- conf/
|
||||||
use: buildx
|
use: buildx
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- --platform=linux/amd64
|
- --platform=linux/amd64
|
||||||
@@ -43,7 +43,7 @@ dockers:
|
|||||||
extra_files:
|
extra_files:
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- README.md
|
- README.md
|
||||||
- conf/*
|
- conf/
|
||||||
use: buildx
|
use: buildx
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- --platform=linux/arm64/v8
|
- --platform=linux/arm64/v8
|
||||||
|
|||||||
Reference in New Issue
Block a user