From 00d96c69550c5ec51def986c06bcdac80ff45451 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Sat, 27 Feb 2021 16:33:04 +0100 Subject: [PATCH] Update index.mjs --- source/app/action/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/action/index.mjs b/source/app/action/index.mjs index 70a612bc..07090b01 100644 --- a/source/app/action/index.mjs +++ b/source/app/action/index.mjs @@ -59,7 +59,7 @@ "use.prebuilt.image":_image, ...config } = metadata.plugins.core.inputs.action({core}) - const q = {...query, repo:_repo, template} + const q = {...query, ...(_repo ? {repo:_repo} : null), template} //Docker image if (_image)