This repository was archived by the owner on Apr 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-26
lines changed
Expand file tree Collapse file tree 4 files changed +16
-26
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ dockers:
100100 - image_templates :
101101 - " soulteary/webhook:linux-amd64-extend-{{ .Tag }}"
102102 - " soulteary/webhook:linux-amd64-extend"
103- dockerfile : docker/Dockerfile.extend
103+ dockerfile : docker/Dockerfile.gorelease- extend
104104 use : buildx
105105 goarch : amd64
106106 build_flag_templates :
@@ -118,7 +118,7 @@ dockers:
118118 - image_templates :
119119 - " soulteary/webhook:linux-arm64-extend-{{ .Tag }}"
120120 - " soulteary/webhook:linux-arm64-extend"
121- dockerfile : docker/Dockerfile.extend
121+ dockerfile : docker/Dockerfile.gorelease- extend
122122 use : buildx
123123 goos : linux
124124 goarch : arm64
@@ -138,7 +138,7 @@ dockers:
138138 - image_templates :
139139 - " soulteary/webhook:linux-armv7-extend-{{ .Tag }}"
140140 - " soulteary/webhook:linux-armv7-extend"
141- dockerfile : docker/Dockerfile.extend
141+ dockerfile : docker/Dockerfile.gorelease- extend
142142 use : buildx
143143 goos : linux
144144 goarch : arm
@@ -158,7 +158,7 @@ dockers:
158158 - image_templates :
159159 - " soulteary/webhook:linux-armv6-extend-{{ .Tag }}"
160160 - " soulteary/webhook:linux-armv6-extend"
161- dockerfile : docker/Dockerfile.extend
161+ dockerfile : docker/Dockerfile.gorelease- extend
162162 use : buildx
163163 goos : linux
164164 goarch : arm
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11FROM alpine:3.19.0 as builder
2- RUN apk --update add ca-certificates upx
3- RUN upx -9 -o webhook.minify webhook && \
4- chmod +x webhook.minify
2+ RUN apk --update add ca-certificates
53
64FROM scratch
75LABEL maintainer "soulteary <
[email protected] >"
86COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
9- COPY webhook.minify /usr/bin/webhook
7+ COPY webhook /usr/bin/webhook
108EXPOSE 8345/tcp
119CMD ["/usr/bin/webhook"]
Original file line number Diff line number Diff line change 1+ FROM alpine:3.19.0 as builder
2+ RUN apk --update add ca-certificates
3+
4+ FROM alpine:3.19.0
5+ LABEL maintainer "soulteary <
[email protected] >"
6+ RUN apk --update add bash curl wget jq yq
7+ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
8+ COPY webhook /usr/bin/webhook
9+ EXPOSE 8345/tcp
10+ CMD ["/usr/bin/webhook"]
You can’t perform that action at this time.
0 commit comments