From b10d53c8b3eafeeaa3a6bbad63edca6226631186 Mon Sep 17 00:00:00 2001 From: andytson-inviqa Date: Tue, 30 May 2023 15:05:05 +0100 Subject: [PATCH] Fix issue expanding built-images list into bash array in `ws built-images rm` (#777) --- src/_base/harness/config/cleanup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_base/harness/config/cleanup.yml b/src/_base/harness/config/cleanup.yml index 977baf6d0..0a245084b 100644 --- a/src/_base/harness/config/cleanup.yml +++ b/src/_base/harness/config/cleanup.yml @@ -24,7 +24,7 @@ command('cleanup built-images'): BUILD_LABEL: = @('namespace') ~ ':' ~ @('app.version') exec: | #!bash - IMAGES=$(ws built-images ls) + IMAGES=($(ws built-images ls)) if [ "${#IMAGES[@]}" -gt 0 ]; then run docker image rm --force -- "${IMAGES[@]}" fi