forked from harshavardhana/s3www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
58 lines (56 loc) · 1.07 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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: s3www
before:
hooks:
- go mod tidy
builds:
-
flags:
- -trimpath
goos:
- darwin
- linux
- freebsd
goarch:
- amd64
- arm64
- ppc64le
- s390x
env:
- CGO_ENABLED=0
archives:
-
format_overrides:
- goos: windows
format: zip
files:
- README.md
- LICENSE
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: 'snapshot-{{ time "2006-01-02" }}'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
-
description: Serve static files from any S3 bucket
license: Apache License Version 2.0
formats:
- deb
- rpm
dockers:
-
# GOOS of the built binary that should be used.
goos: linux
# GOARCH of the built binary that should be used.
goarch: amd64
dockerfile: Dockerfile
image_templates:
- "y4m4/s3www:{{ .Tag }}"
- "y4m4/s3www:latest"