diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-09-21 10:05:07 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-09-21 10:05:07 -0400 |
commit | 7bc2fbb44b6f56986256673e7307d06bc8f27cc3 (patch) | |
tree | b3d96b2132b73068fe5fc68d2700a253830296ea /bake.sh | |
parent | 84557cec1b6d8c7ea915ec00802a12e6c3251c3d (diff) |
Nicer readme formatting
Diffstat (limited to 'bake.sh')
-rwxr-xr-x | bake.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |