Skip to content

Commit 7353541

Browse files
committed
remove --rm-dist from goreleaser
1 parent 9e94a17 commit 7353541

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
distribution: goreleaser
4545
version: latest
46-
args: release --rm-dist --debug
46+
args: release --debug
4747
env:
4848
BUILD_TAG: "latest"
4949
GOPATH: ${{ env.GOPATH }}

Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
FROM golang:1.17-alpine AS builder
2-
3-
RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
4-
5-
FROM scratch
6-
7-
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
1+
FROM debian
82

93
COPY chproxy /
104

5+
EXPOSE 9090
6+
117
ENTRYPOINT ["/chproxy"]
8+
CMD [ "--help" ]

0 commit comments

Comments
 (0)