aboutsummaryrefslogtreecommitdiff
path: root/bake.sh
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-09-21 10:05:07 -0400
committerGalen Guyer <galen@galenguyer.com>2022-09-21 10:05:07 -0400
commit7bc2fbb44b6f56986256673e7307d06bc8f27cc3 (patch)
treeb3d96b2132b73068fe5fc68d2700a253830296ea /bake.sh
parent84557cec1b6d8c7ea915ec00802a12e6c3251c3d (diff)
Nicer readme formatting
Diffstat (limited to 'bake.sh')
-rwxr-xr-xbake.sh12
1 files changed, 6 insertions, 6 deletions
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