From 1a5625d0c8a6e8cdfbc7e1b99af8a322c08c035f Mon Sep 17 00:00:00 2001
From: TheSp1der <nhyatt@smoothnet.org>
Date: Thu, 24 Oct 2019 15:02:01 -0500
Subject: [PATCH] volumes??

---
 build-minecraft.jenkins | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/build-minecraft.jenkins b/build-minecraft.jenkins
index e810831..46a9cd1 100644
--- a/build-minecraft.jenkins
+++ b/build-minecraft.jenkins
@@ -45,15 +45,15 @@ podTemplate(
 					key: "DOCKER_TLS_CERTDIR",
 					value: ""
 				)
+			],
+			volumes: [
+				configMapVolume(
+					mountPath: "/etc/docker",
+					configMapName: "dind-insecure-registries"
+				)
 			]
 		)
-	],
-	volumes(
-		configMapVolume(
-			mountPath: "/etc/docker",
-			configMapName: "dind-insecure-registries"
-		)
-	)
+	]
 ) {
 	node(POD_LABEL) {
 		container("docker") {