Skip to content

Commit

Permalink
Release with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Dec 27, 2018
1 parent 69380f5 commit a02a1ab
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ $(LINUX_PKGS):

.PHONY: goreleaser
goreleaser:
goreleaser --rm-dist
docker run --rm --privileged \
-v ${PWD}:/dkron \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /dkron \
-e GITHUB_TOKEN \
-e DOCKER_USERNAME \
-e DOCKER_PASSWORD \
-e DOCKER_REGISTRY \
--entrypoint "" \
goreleaser/goreleaser scripts/release

.PHONY: release
release: clean goreleaser
Expand Down

0 comments on commit a02a1ab

Please sign in to comment.