use scarf to serve the images (#21)
This allows us to easily switch between container registries while keeping the same domain prefix. It also gives access to high-level statistics on the docker pull which can be useful to find out which images are being used or not.
This commit is contained in:
parent
debbce2425
commit
50b4d08da7
3 changed files with 39 additions and 54 deletions
18
readme-image-matrix
Executable file
18
readme-image-matrix
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# Usage: ./dockerhub-image-matrix
|
||||
set -euo pipefail
|
||||
|
||||
## Main ##
|
||||
|
||||
releases_json=$(nix-instantiate --strict --eval --json)
|
||||
|
||||
echo "| Image / Tag | Pull |"
|
||||
echo "| --- | --- |"
|
||||
|
||||
for attr in $(echo "$releases_json" | jq -r "keys[]") ; do
|
||||
name=nixpkgs/$attr
|
||||
echo -n "| [$name](https://hub.docker.com/r/$name)"
|
||||
echo -n "| \`docker pull docker.nix-community.org/$name\` "
|
||||
echo "|"
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue