diff --git a/bin/docker-execute b/bin/docker-execute index fec4c7e43c..b367e05888 100755 --- a/bin/docker-execute +++ b/bin/docker-execute @@ -12,11 +12,13 @@ REPO_NAME=$1 PACKAGE_NAME=$2 HELP=false REBUILD=false +PRIVKEY==$(cat $HOME/.ssh/gerrit) echo "package: $2" echo "Image: $IMAGE_NAME" echo "UID: $(id -u)" echo "GID: $(id -g)" +echo "PRIV KEY : $PRIVKEY" # Enable docker buildkit with inline cache builds export DOCKER_BUILDKIT=1 @@ -229,6 +231,7 @@ docker run --privileged=true -dit \ -e PACKAGE_NAME=$PACKAGE_NAME \ -e REPO_NAME=$REPO_NAME \ -e SSH_KEY=$SSH_KEY \ + -e PRIVKEY=$PRIVKEY \ --env "LOCAL_GITHUB_ACCESS_TOKEN=$LOCAL_GITHUB_ACCESS_TOKEN" \ "${DOCKER_OPTS[@]}" \ --cap-add=SYS_PTRACE \