|
@@ -15,12 +15,12 @@ if test -z $BINTRAY_TOKEN; then
|
|
|
exit 1
|
|
|
fi
|
|
|
|
|
|
-docker run -e GITHUB_TOKEN=$GITHUB_TOKEN -e BINTRAY_TOKEN=$BINTRAY_TOKEN -it \
|
|
|
+docker run -e GITHUB_TOKEN=$GITHUB_TOKEN -e BINTRAY_TOKEN=$BINTRAY_TOKEN -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK -it \
|
|
|
--mount type=bind,source=$(pwd),target=/src \
|
|
|
- --mount type=bind,source=$(pwd)/.git,target=/src/.git \
|
|
|
--mount type=bind,source=$HOME/.docker,target=/root/.docker \
|
|
|
--mount type=bind,source=$HOME/.gitconfig,target=/root/.gitconfig \
|
|
|
--mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock \
|
|
|
--mount type=bind,source=$HOME/.ssh,target=/root/.ssh \
|
|
|
+ --mount type=bind,source=/tmp,target=/tmp \
|
|
|
-v $HOME/.pypirc:/root/.pypirc \
|
|
|
compose/release-tool $*
|