ghusta / docker-fakesmtp

:mailbox_with_mail: Another docker image for FakeSMTP (https://github.com/Nilhcem/FakeSMTP)
Other
8 stars 1 forks source link

Add available JRE list in release notes #13

Closed ghusta closed 1 year ago

ghusta commented 1 year ago

Provide a list of available JRE in docker images list in release notes.

For example :

ghusta commented 1 year ago

In GitHub Actions, use for loop in shell, like :

for s in ''jre21 jre17 jre11''; do 
  echo  "- $s"
done

Or:

jreList=("jre17" "jre11")
for s in ${jreList[@]}; do 
  echo  "- $s"
done
ghusta commented 1 year ago

See also : https://www.freecodecamp.org/news/bash-array-how-to-declare-an-array-of-strings-in-a-bash-script/