Skip to content

Commit

Permalink
Rename soft-serve binary in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Dec 7, 2021
1 parent 037aa75 commit 91962f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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" ]

0 comments on commit 91962f1

Please sign in to comment.