From 7bc2fbb44b6f56986256673e7307d06bc8f27cc3 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Wed, 21 Sep 2022 10:05:07 -0400 Subject: Nicer readme formatting --- bake.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bake.sh') diff --git a/bake.sh b/bake.sh index a7886e2..2ea23fa 100755 --- a/bake.sh +++ b/bake.sh @@ -55,11 +55,11 @@ echo "## tags" >> README.md target_info="$(docker buildx bake --print | jq '.target')" targets="$(echo $target_info | jq -r '.|keys[]')" for target in $targets; do - tags="$(echo "$target_info" | jq -r '[."'"$target"'".tags|.[]|split(":")|.[1]]|join(", ")')" - echo "- $target: $tags" >> README.md + tags="$(echo "$target_info" | jq -r '[."'"$target"'".tags|.[]|split(":")|.[1]|"`\(.)`"]|join(", ")')" + echo "- **$target**: $tags" >> README.md done echo -e "\n## build options" >> README.md -echo "ALPINE_VER: $ALPINE_VER" >> README.md -echo "NGINX_MAINLINE: $NGINX_MAINLINE" >> README.md -echo "NGINX_STABLE: $NGINX_STABLE" >> README.md -echo "PCRE2_VER: $PCRE2_VER" >> README.md +echo "- **ALPINE**: "'`'"$ALPINE_VER"'`'"" >> README.md +echo "- **NGINX_MAINLINE**: "'`'"$NGINX_MAINLINE"'`'"" >> README.md +echo "- **NGINX_STABLE**: "'`'"$NGINX_STABLE"'`'"" >> README.md +echo "- **PCRE2**: "'`'"$PCRE2_VER"'`'"" >> README.md -- cgit v1.2.3