File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ builds:
24
24
- -s -w -X github.com/stripe/stripe-cli/pkg/version.Version={{.Version}}
25
25
binary : stripe
26
26
env :
27
- - CGO_ENABLED=1
27
+ - CGO_ENABLED=0
28
28
main : ./cmd/stripe/main.go
29
29
goos :
30
30
- linux
@@ -67,6 +67,8 @@ changelog:
67
67
- ' ^test:'
68
68
nfpms :
69
69
-
70
+ builds :
71
+ - stripe-linux-amd64
70
72
vendor : Stripe
71
73
homepage : https://stripe.com
72
74
maintainer : Stripe <support@stripe.com>
@@ -111,8 +113,20 @@ scoop:
111
113
description : Stripe CLI utility
112
114
license : Apache 2.0
113
115
dockers :
114
- - binaries :
116
+ - goos : linux
117
+ goarch : amd64
118
+ binaries :
115
119
- stripe
120
+ builds :
121
+ - stripe-linux-amd64
116
122
image_templates :
117
123
- " stripe/stripe-cli:latest"
118
124
- " stripe/stripe-cli:{{ .Tag }}"
125
+ build_flag_templates :
126
+ - " --pull"
127
+ - " --label=org.opencontainers.image.created={{.Date}}"
128
+ - " --label=org.opencontainers.image.name={{.ProjectName}}"
129
+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
130
+ - " --label=org.opencontainers.image.version={{.Version}}"
131
+ - " --label=repository=https://github.com/stripe/stripe-cli"
132
+ - " --label=homepage=https://stripe.com"
Original file line number Diff line number Diff line change 1
1
FROM alpine
2
- RUN apk add ca-certificates
2
+ RUN apk update && apk upgrade && \
3
+ apk add --no-cache ca-certificates
3
4
COPY stripe /bin/stripe
4
5
ENTRYPOINT ["/bin/stripe" ]
You can’t perform that action at this time.
0 commit comments