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