We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41ca069 commit bf317c6Copy full SHA for bf317c6
1 file changed
commands/run.sh
@@ -223,6 +223,14 @@ if [[ -n "${BUILDKITE_AGENT_BINARY_PATH:-}" ]] ; then
223
)
224
fi
225
226
+if [[ -n "${BUILDKITE_AGENT_JOB_API_SOCKET:-}" ]] ; then
227
+ args+=(
228
+ "--env" "BUILDKITE_AGENT_JOB_API_SOCKET"
229
+ "--env" "BUILDKITE_AGENT_JOB_API_TOKEN"
230
+ "--volume" "$BUILDKITE_AGENT_JOB_API_SOCKET:$BUILDKITE_AGENT_JOB_API_SOCKET"
231
+ )
232
+fi
233
+
234
# Parse extra env vars and add them to the docker args
235
while IFS='=' read -r name _ ; do
236
if [[ $name =~ ^(BUILDKITE_PLUGIN_DOCKER_ENVIRONMENT_[0-9]+) ]] ; then
0 commit comments