Debian Codegraph @

.github/goreleaser.yml

raw symbols SCIP
1 version: 2
2 project_name: certstream-server-go
3
4 before:
5 hooks:
6 - go mod download
7
8 builds:
9 - main: ./cmd/certstream-server-go
10 ldflags: -s -w -X github.com/d-Rickyy-b/certstream-server-go/internal/config.Version={{.Version}}
11 env:
12 - CGO_ENABLED=0
13 goos:
14 - linux
15 - darwin
16 - windows
17 goarch:
18 - 386
19 - amd64
20 - arm
21 - arm64
22 ignore:
23 - goos: darwin
24 goarch: 386
25 - goos: darwin
26 goarch: arm
27 - goos: windows
28 goarch: arm
29 - goos: windows
30 goarch: arm64
31 - goos: windows
32 goarch: 386
33 checksum:
34 name_template: '{{.ProjectName}}_{{.Version}}_checksums.txt'
35 changelog:
36 disable: true
37
38 dockers_v2:
39 - images:
40 - "0rickyy0/{{.ProjectName}}"
41 - "ghcr.io/d-rickyy-b/{{.ProjectName}}"
42 dockerfile: docker/Dockerfile.goreleaser
43 tags:
44 - "{{.Tag}}"
45 - "{{ if not .Prerelease }}latest{{ end }}"
46 extra_files:
47 - config.docker.yaml
48 labels:
49 "org.opencontainers.image.title": "{{.ProjectName}}"
50 "org.opencontainers.image.description": "Certstream server written in Go"
51 "org.opencontainers.image.created": "{{.Date}}"
52 "org.opencontainers.image.name": "{{.ProjectName}}"
53 "org.opencontainers.image.revision": "{{.FullCommit}}"
54 "org.opencontainers.image.version": "{{.Version}}"
55 "org.opencontainers.image.source": "https://github.com/d-Rickyy-b/certstream-server-go"
56
57 archives:
58 - formats: [ "binary" ]
59 name_template: >-
60 {{- .ProjectName }}_
61 {{- .Version}}_
62 {{- if eq .Os "darwin" }}macOS{{- else }}{{ .Os }}{{ end }}_
63 {{- if eq .Arch "386" }}i386{{- else }}{{ .Arch }}{{ end }}