From 191c43974d2a2ee9c3432781b01a1f5f6f033cdd Mon Sep 17 00:00:00 2001 From: Blayne Chard Date: Mon, 17 Jul 2023 15:00:27 +1200 Subject: [PATCH] refactor: only include cutline if specified --- workflows/test/test-cogify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/test/test-cogify.yml b/workflows/test/test-cogify.yml index ea11b47b0..0d5d932f9 100644 --- a/workflows/test/test-cogify.yml +++ b/workflows/test/test-cogify.yml @@ -163,7 +163,7 @@ spec: args: - "cover" - "--tile-matrix={{ inputs.parameters.tile_matrix }}" - - "--cutline={{= sprig.trim(inputs.parameters.cutline) }}" + - "{{= sprig.empty(inputs.parameters.cutline) ? '' : '--cutline=' + inputs.parameters.cutline }}" - "--cutline-blend={{ inputs.parameters.cutline_blend }}" - "--target={{= sprig.trim(inputs.parameters.target) }}" - "{{= sprig.trim(inputs.parameters.source) }}"