-
Notifications
You must be signed in to change notification settings - Fork 28
/
.goreleaser.yml
77 lines (68 loc) · 1.91 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
project_name: pvecsictl
before:
hooks:
- go mod download
dist: bin
builds:
- dir: cmd/pvecsictl
binary: pvecsictl-{{ .Os }}-{{ .Arch }}
no_unique_dist_dir: true
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
archives:
- format: binary
name_template: "{{ .Binary }}"
checksum:
name_template: "checksums.txt"
snapshot:
version_template: edge
# dockers:
# - use: buildx
# image_templates:
# - ghcr.io/sergelogvinov/pvecsictl:{{ .Version }}-amd64
# goos: linux
# goarch: amd64
# build_flag_templates:
# - "--label=org.opencontainers.image.version={{.Version}}"
# - "--target=pvecsictl-goreleaser"
# - "--platform=linux/amd64"
# - use: buildx
# image_templates:
# - ghcr.io/sergelogvinov/pvecsictl:{{ .Version }}-arm64
# goos: linux
# goarch: arm64
# build_flag_templates:
# - "--label=org.opencontainers.image.version={{.Version}}"
# - "--target=pvecsictl-goreleaser"
# - "--platform=linux/arm64"
# docker_manifests:
# - name_template: ghcr.io/sergelogvinov/{{ .ProjectName }}:{{ .Version }}
# image_templates:
# - ghcr.io/sergelogvinov/{{ .ProjectName }}:{{ .Version }}-amd64
# - ghcr.io/sergelogvinov/{{ .ProjectName }}:{{ .Version }}-arm64
brews:
- name: pvecsictl
directory: Formula
homepage: https://github.com/sergelogvinov/proxmox-csi-plugin
description: "Proxmox VE CSI Mutate tool"
license: Apache-2.0
commit_author:
name: sergelogvinov
email: 5407715+sergelogvinov@users.noreply.github.com
repository:
owner: sergelogvinov
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TOKEN }}"
test: |
system "#{bin}/pvecsictl -v"
install: |
bin.install "{{ .Binary }}" => "pvecsictl"