Add missing $ to variable tag_file so the yq query can pull
the tag from the container-tag.yaml file.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: If1d99fca46f2a0cc6ea8328d7ed1b1495c7af116
--- /dev/null
+---
+fixes:
+ - |
+ Add missing $ to variable tag_file so the yq query can pull
+ the tag from the container-tag.yaml file.
dir=${CONTAINER_TAG_YAML_DIR:-$DOCKER_ROOT}
tag_file=$dir/container-tag.yaml
if [[ -f $tag_file ]]; then
- tag=$(yq -r .tag tag_file)
+ tag=$(yq -r .tag "$tag_file")
else
echo "File $tag_file not found."
fi