From 4dd002dea027d19f8f4c620bb05d65121e4ff0ad Mon Sep 17 00:00:00 2001 From: nhyatt Date: Thu, 11 Aug 2022 17:59:26 -0500 Subject: [PATCH] adds commands --- vars/functions.groovy | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vars/functions.groovy b/vars/functions.groovy index b6d33dd..abe8196 100644 --- a/vars/functions.groovy +++ b/vars/functions.groovy @@ -24,14 +24,18 @@ spec: - name: alpine imagePullPolicy: Always image: ${config.repo}/library/alpine:latest - tty: true""" + tty: true + command: + - /bin/sh""" } if (config.fedora == true) { output += """ - name: fedora imagePullPolicy: Always image: ${config.repo}/dockerhub/library/fedora:latest - tty: true""" + tty: true + command: + - /bin/sh""" } for (image in customImages) { if (image.name && image.name != "" && image.path && image.path != "") {