11# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
2- version : 1
3- project_name : parrotserver
2+ version : 2
3+ project_name : parrot
44
55monorepo :
6- tag_prefix : parrotserver /
7- dir : parrotserver
6+ tag_prefix : parrot /
7+ dir : parrot
88
99env :
1010 - IMG_PRE={{ if index .Env "IMAGE_PREFIX" }}{{ .Env.IMAGE_PREFIX }}{{ else }}local{{ end }}
1111 - TAG={{ if index .Env "IMAGE_TAG" }}{{ .Env.IMAGE_TAG }}{{ else }}latest{{ end }}
1212
1313# Build settings for binaries
1414builds :
15- - id : parrotserver
15+ - id : parrot
1616 goos :
1717 - linux
1818 - darwin
@@ -26,25 +26,25 @@ archives:
2626 - format : binary
2727
2828dockers :
29- - id : linux-amd64-parrotserver
29+ - id : linux-amd64-parrot
3030 goos : linux
3131 goarch : amd64
3232 image_templates :
33- - ' {{ .Env.IMG_PRE }}/parrotserver :{{ .Tag }}'
34- - ' {{ .Env.IMG_PRE }}/parrotserver :latest'
33+ - ' {{ .Env.IMG_PRE }}/parrot :{{ .Tag }}'
34+ - ' {{ .Env.IMG_PRE }}/parrot :latest'
3535 build_flag_templates :
3636 - --platform=linux/amd64
3737 - --pull
3838 - --label=org.opencontainers.image.created={{.Date}}
3939 - --label=org.opencontainers.image.title={{.ProjectName}}
4040 - --label=org.opencontainers.image.revision={{.FullCommit}}
4141 - --label=org.opencontainers.image.version={{.Version}}
42- - id : linux-arm64-parrotserver
42+ - id : linux-arm64-parrot
4343 goos : linux
4444 goarch : arm64
4545 image_templates :
46- - ' {{ .Env.IMG_PRE }}/parrotserver :{{ .Tag }}-arm64'
47- - ' {{ .Env.IMG_PRE }}/parrotserver :latest-arm64'
46+ - ' {{ .Env.IMG_PRE }}/parrot :{{ .Tag }}-arm64'
47+ - ' {{ .Env.IMG_PRE }}/parrot :latest-arm64'
4848 build_flag_templates :
4949 - --platform=linux/arm64
5050 - --pull
@@ -55,4 +55,4 @@ dockers:
5555
5656before :
5757 hooks :
58- - cd parrotserver && go mod tidy
58+ - cd parrot && go mod tidy
0 commit comments