Skip to content

Commit

Permalink
fix main path for CI release (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored Nov 23, 2024
1 parent 60e8413 commit a7742f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
builds:
- main: ./cmd/faucet
- main: .
goos:
- linux
- darwin
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk add git
COPY go.mod go.sum* ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o=/usr/local/bin/faucet ./cmd/faucet
RUN CGO_ENABLED=0 go build -o=/usr/local/bin/faucet .

FROM alpine
COPY --from=builder /usr/local/bin/faucet /usr/local/bin/faucet
Expand Down

0 comments on commit a7742f7

Please sign in to comment.