Skip to content

Commit

Permalink
Try to make docker-run-release refer to SSH agent
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoshu committed Jun 4, 2023
1 parent 8e8f883 commit 68318b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ docker-run-release:
mkdir -p docker-run-release-cache
# uid needs to be set to avoid "error obtaining VCS status: exit status 128"
docker run --user $(shell id -u) -it --rm -e GITHUB_TOKEN \
-v ${SSH_AUTH_SOCK}:/tmp/ssh-agent.sock -e SSH_AUTH_SOCK=/tmp/ssh-agent.sock \
-v $(shell pwd):$(pkg) \
-v $(shell pwd)/docker-run-release-cache:/.cache \
-w $(pkg) golang:1.19.8 make bootstrap release
Expand Down

0 comments on commit 68318b3

Please sign in to comment.