File tree 2 files changed +51
-0
lines changed
2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1
1
builds :
2
2
- id : default
3
3
main : ./cmd/koyeb
4
+ binary : koyeb
4
5
env :
5
6
- CGO_ENABLED=0
6
7
goos :
@@ -17,6 +18,7 @@ builds:
17
18
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.Commit={{ .ShortCommit }}
18
19
- id : windows
19
20
main : ./cmd/koyeb
21
+ binary : koyeb
20
22
env :
21
23
- CGO_ENABLED=0
22
24
goos :
@@ -28,3 +30,45 @@ builds:
28
30
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.BuildDate={{ .Date }}
29
31
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.Version={{ .Version }}
30
32
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.Commit={{ .ShortCommit }}
33
+
34
+ archives :
35
+ - id : windows
36
+ builds :
37
+ - windows
38
+ wrap_in_directory : false
39
+ format : zip
40
+ - id : default
41
+ builds :
42
+ - default
43
+ files : [only-the-binary*]
44
+ wrap_in_directory : false
45
+ format : tar.gz
46
+
47
+ release :
48
+ prerelease : auto
49
+
50
+ dockers :
51
+ - goos : linux
52
+ goarch : amd64
53
+ image_templates :
54
+ - " koyeb/koyeb-cli:latest"
55
+ - " koyeb/koyeb-cli:v{{ .Version }}"
56
+ skip_push : auto
57
+
58
+ checksum :
59
+ name_template : " checksums.txt"
60
+
61
+ snapshot :
62
+ name_template : " {{.Branch}}-{{.ShortCommit}}"
63
+
64
+ brews :
65
+ - tap :
66
+ owner : koyeb
67
+ name : homebrew-tap
68
+ folder : Formula
69
+ homepage : https://koyeb.com
70
+ skip_upload : auto
71
+ test : |
72
+ system "#{bin}/koyeb version"
73
+ install : |
74
+ bin.install "koyeb"
Original file line number Diff line number Diff line change
1
+ FROM golang:alpine as build
2
+ RUN apk --no-cache add ca-certificates
3
+
4
+ FROM scratch
5
+ COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
6
+ COPY koyeb /
7
+ ENTRYPOINT ["/koyeb" ]
You can’t perform that action at this time.
0 commit comments