File tree 4 files changed +43
-3
lines changed
4 files changed +43
-3
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,22 @@ dockers:
54
54
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
55
55
- --label=org.opencontainers.image.licenses=MPL-2.0
56
56
57
+ - image_templates :
58
+ - " docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:{{ .Tag }}-slim"
59
+ goos : linux
60
+ goarch : amd64
61
+ dockerfile : slim.Dockerfile
62
+ ids :
63
+ - cobin
64
+ build_flag_templates :
65
+ - --platform=linux/amd64
66
+ - --label=org.opencontainers.image.title={{ .ProjectName }}
67
+ - --label=org.opencontainers.image.description=A fast & secure open source webhooks service
68
+ - --label=org.opencontainers.image.url=https://github.com/{{ .Env.REPO_NAME }}
69
+ - --label=org.opencontainers.image.source=https://github.com/{{ .Env.REPO_NAME }}
70
+ - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
71
+ - --label=org.opencontainers.image.licenses=MPL-2.0
72
+
57
73
checksum :
58
74
name_template : " {{ .ProjectName}}_checksums.txt"
59
75
Original file line number Diff line number Diff line change @@ -105,6 +105,23 @@ dockers:
105
105
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
106
106
- --label=org.opencontainers.image.licenses=MPL-2.0
107
107
108
+ - image_templates :
109
+ - " docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:latest-slim"
110
+ - " docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:{{ .Tag }}-slim"
111
+ goos : linux
112
+ goarch : amd64
113
+ dockerfile : slim.Dockerfile
114
+ ids :
115
+ - cobin
116
+ build_flag_templates :
117
+ - --platform=linux/amd64
118
+ - --label=org.opencontainers.image.title={{ .ProjectName }}
119
+ - --label=org.opencontainers.image.description=A fast & secure open source webhooks service
120
+ - --label=org.opencontainers.image.url=https://github.com/{{ .Env.REPO_NAME }}
121
+ - --label=org.opencontainers.image.source=https://github.com/{{ .Env.REPO_NAME }}
122
+ - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
123
+ - --label=org.opencontainers.image.licenses=MPL-2.0
124
+
108
125
checksum :
109
126
name_template : " {{ .ProjectName}}_checksums.txt"
110
127
Original file line number Diff line number Diff line change 1
- FROM gcr.io/distroless/base
2
- # the name of the binary generated by goreleaser
1
+ FROM alpine:3.16.2
2
+
3
3
COPY convoy /cmd
4
+ RUN chmod +x /cmd
5
+ RUN apk add --no-cache gcompat
4
6
ENTRYPOINT [ "/cmd" ]
5
- CMD ["server" , "--config" , "convoy.json" ]
7
+ CMD ["server" , "--config" , "/ convoy.json" ]
Original file line number Diff line number Diff line change
1
+ FROM gcr.io/distroless/base
2
+ # the name of the binary generated by goreleaser
3
+ COPY convoy /cmd
4
+ ENTRYPOINT [ "/cmd" ]
5
+ CMD ["server" , "--config" , "convoy.json" ]
You can’t perform that action at this time.
0 commit comments