We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0d9b3 commit d8d1922Copy full SHA for d8d1922
github-actions/kind/action.yml
@@ -50,7 +50,7 @@ runs:
50
51
if [ "$WORKER_NODES" -gt 0 ]; then
52
for i in $(seq 1 $WORKER_NODES); do
53
- sed -i "/^nodes:/a \ \ - role: worker\n image: ${NODE_IMAGE}\n labels:\n ${LABEL_PREFIX}-${i}: true" ${GITHUB_ACTION_PATH}/resources/kind.yaml
+ sed -i "/^nodes:/a \ \ - role: worker\n image: ${NODE_IMAGE}\n labels:\n ${LABEL_PREFIX}-${i}: true\n extraMounts:\n - hostPath: /dev/null\n containerPath: /var/run/nvidia-container-devices/all" ${GITHUB_ACTION_PATH}/resources/kind.yaml
54
done
55
fi
56
0 commit comments