From 0fe5410d548420f19a43756717fe0940ff1f9ad0 Mon Sep 17 00:00:00 2001 From: Daniel Flook Date: Mon, 8 Jan 2024 11:52:00 +0000 Subject: [PATCH] Use absolute path for plan file The workspace may not be the current directory --- image/entrypoints/apply.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/entrypoints/apply.sh b/image/entrypoints/apply.sh index 5b6fb079..9f62e9f2 100755 --- a/image/entrypoints/apply.sh +++ b/image/entrypoints/apply.sh @@ -83,7 +83,7 @@ if [[ "$INPUT_PLAN_PATH" != "" ]]; then exit 1 fi - PLAN_OUT=$INPUT_PLAN_PATH + PLAN_OUT=$(realpath $INPUT_PLAN_PATH) PLAN_EXIT=2 else plan