Skip to content

Commit

Permalink
fixed release target makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmanno committed Nov 19, 2021
1 parent 6755fca commit 00b56d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ build:
go build -o ${BINARY}

release:
goreleaser release --rm-dist --snapshot --skip-publish --skip-sign
docker run --rm \
-v $(PWD):/go/src/github.com/$(NAMESPACE)/$(BINARY) \
-w /go/src/github.com/$(NAMESPACE)/$(BINARY) \
-e GITHUB_TOKEN \
goreleaser/goreleaser release --rm-dist

# -v /var/run/docker.sock:/var/run/docker.sock
# -e GITHUB_TOKEN --privileged
Expand Down

0 comments on commit 00b56d8

Please sign in to comment.