diff --git a/.goreleaser.yml b/.goreleaser.yml index 3d505c1ab..378614bee 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,7 @@ before: builds: - id: "soft-serve" - binary: "soft-serve" + binary: "soft" ldflags: -s -w -X main.Version=v{{ .Version }} -X main.CommitSHA={{ .Commit }} goos: - linux diff --git a/Dockerfile b/Dockerfile index c1925dcdd..589d64ba9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:latest RUN apk update && apk add --update git && rm -rf /var/cache/apk/* -COPY soft-serve /usr/local/bin/soft-serve +COPY soft /usr/local/bin/soft # Create directories WORKDIR /soft-serve @@ -19,4 +19,4 @@ ENV SOFT_SERVE_REPO_PATH "/soft-serve/repos" EXPOSE 23231/tcp # Set the default command -ENTRYPOINT [ "/usr/local/bin/soft-serve" ] +ENTRYPOINT [ "/usr/local/bin/soft" ]