README: add nixos-20.09 and fixes

This commit is contained in:
zimbatm 2021-02-10 14:23:23 +01:00
parent 4d4b61e919
commit 70854a5310
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
2 changed files with 30 additions and 44 deletions

View file

@ -23,10 +23,10 @@ microbadge() {
releases_json=$(nix-instantiate --strict --eval --json)
echo "| Image / Tag | latest | nixos-20.03 |"
echo "| --- | --- | --- |"
echo "| Image / Tag | latest | nixos-20.09 | nixos-20.03 |"
echo "| --- | --- | --- | --- |"
for attr in $(echo "$releases_json" | jq -r "keys[]") ; do
name=nixpkgs/$attr
echo "| [$name](https://hub.docker.com/r/$name) | $(microbadge "$name") | $(microbadge "$name" "nixos-20.03") |"
echo "| [$name](https://hub.docker.com/r/$name) | $(microbadge "$name") | $(microbadge "$name" "nixos-20.09") | $(microbadge "$name" "nixos-20.03") |"
done