Skip to content

Commit

Permalink
Fix issue expanding built-images list into bash array in `ws built-im…
Browse files Browse the repository at this point in the history
…ages rm` (#777)
  • Loading branch information
andytson-inviqa committed May 30, 2023
1 parent 92f884c commit b10d53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_base/harness/config/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b10d53c

Please sign in to comment.