Use plain string (no quotes) for tags path.
This commit is contained in:
parent
50ee039175
commit
036520db92
1 changed files with 1 additions and 1 deletions
2
src/out
2
src/out
|
@ -12,7 +12,7 @@ tar xf "$1/$(jq -r .params.image < "$INPUT_FILE")"
|
|||
cd - 1>&2 2>/dev/null
|
||||
|
||||
crane push "$oci_dir" "$REPOSITORY:$TAG" --image-refs="$image_refs_file"
|
||||
additional_tags="$(jq .params.additional_tags < "$INPUT_FILE")"
|
||||
additional_tags="$(jq -r .params.additional_tags < "$INPUT_FILE")"
|
||||
if [ -n "$additional_tags" ]; then
|
||||
tr '[:space:]' '\n' < "$1/$additional_tags" | grep -v '^$' | while read -r tag; do
|
||||
crane tag "$REPOSITORY:@$(cat "$image_refs_file")" "$tag"
|
||||
|
|
Reference in a new issue