Skip to content

Commit d8362d9

Browse files
committed
build: fix goreleaser deprecations for v2
- archives: format -> formats (list) - dockers -> dockers_v2 - brews -> homebrew_casks with Casks directory
1 parent bc931a1 commit d8362d9

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.goreleaser.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,18 @@ archives:
3434
- id: "archives"
3535
format_overrides:
3636
- goos: windows
37-
format: zip
37+
formats: [zip]
3838

39-
dockers:
40-
- id: dockerhub
39+
dockers_v2:
40+
- images:
41+
- "docker.io/raystack/{{.ProjectName}}"
42+
tags:
43+
- "latest"
44+
- "{{ .Version }}"
45+
- "{{ .Tag }}-amd64"
4146
dockerfile: Dockerfile
4247
build_flag_templates:
4348
- "--target=release"
44-
image_templates:
45-
- "docker.io/raystack/{{.ProjectName}}:latest"
46-
- "docker.io/raystack/{{.ProjectName}}:{{ .Version }}"
47-
- "docker.io/raystack/{{.ProjectName}}:{{ .Tag }}-amd64"
4849

4950
nfpms:
5051
- maintainer: Raystack
@@ -64,15 +65,15 @@ scoops:
6465
owner: raystack
6566
name: scoop-bucket
6667

67-
brews:
68+
homebrew_casks:
6869
- name: compass
6970
homepage: "https://github.com/raystack/compass"
7071
description: "Data catalog service"
7172
repository:
7273
owner: raystack
7374
name: homebrew-tap
7475
license: "Apache 2.0"
75-
directory: Formula
76+
directory: Casks
7677
install: |-
7778
bin.install "compass"
7879
commit_author:

0 commit comments

Comments
 (0)