Fix syntax of out command.

This commit is contained in:
redxef 2022-08-29 22:12:03 +02:00
parent 76fcedd569
commit 2557eec3e9
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -17,8 +17,8 @@ if [ -n "$additional_tags" ]; then
if ! [ -e "$additional_tags" ]; then
fail "additional_tags specified, but doesn't exist"
fi
tr ' \n\t' '\n\n\n' | grep -v '^$' | while read -r tag; do
crane tag "$REPOSITORY:@$(cat "$image_refs_file)" "$tag"
tr '[:space:]' '\n' | grep -v '^$' | while read -r tag; do
crane tag "$REPOSITORY:@$(cat "$image_refs_file")" "$tag"
done
fi