feat: add goreleaser docker image publish

This commit is contained in:
engigu
2024-01-27 22:38:02 +08:00
parent 86ffa87dcc
commit 849f768708
2 changed files with 11 additions and 3 deletions
+8
View File
@@ -22,6 +22,10 @@ builds:
dockers:
- image_templates: [ "docker.io/engigu/{{ .Env.DOCKER_IMAGE_NAME }}:{{ .Version }}-amd64" ]
dockerfile: Dockerfile
extra_files:
- LICENSE
- README.md
- conf/*
use: buildx
build_flag_templates:
- --platform=linux/amd64
@@ -36,6 +40,10 @@ dockers:
- image_templates: [ "docker.io/engigu/{{ .Env.DOCKER_IMAGE_NAME }}:{{ .Version }}-arm64v8" ]
goarch: arm64
dockerfile: Dockerfile
extra_files:
- LICENSE
- README.md
- conf/*
use: buildx
build_flag_templates:
- --platform=linux/arm64/v8