forked from itzg/restify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
56 lines (56 loc) · 1.34 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
project_name: restify
before:
hooks:
- go mod download
builds:
- binary: restify
main: ./cmd
env:
# to allow for alpine/musl use
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- "6"
- "7"
ignore:
- goos: windows
goarch: arm64
changelog:
filters:
exclude:
- '^build:'
- '^ci:'
dockers:
- image_templates:
- "itzg/restify:latest"
- "itzg/restify:{{.Tag}}"
goos: linux
goarch: amd64
use: buildx
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
# alpine base image relies on https://github.com/docker-library/official-images#architectures-other-than-amd64
# - image_templates:
# - "itzg/restify:arm64"
# - "itzg/restify:{{.Tag}}-arm64"
# goos: linux
# goarch: arm64
scoops:
- repository:
owner: itzg
name: scoop-bucket
token: "{{ .Env.SCOOP_TAP_GITHUB_TOKEN }}"
folder: bucket
license: Apache2
description: Enables REST-like access to HTML pages by scraping and parsing them into JSON