update
1 parent 9bcad3c commit f0631b59614796b61485b0ed61c78f6cbac2b49b
@kubota kubota authored on 23 Sep 2022
Showing 1 changed file
View
4
pull.sh
#!/bin/bash
 
LATEST_VERSION=$(curl -s https://registry.hub.docker.com/v1/repositories/bvbnatsu/tsukuba2022/tags | jq -r '.[].name' | tail -n 1)
LATEST_VERSION=$(curl -s https://registry.hub.docker.com/v2/repositories/bvbnatsu/tsukuba2022/tags | jq -r '.[].name' | tail -n 1)
# https://registry.hub.docker.com/v2/namespaces/bvbnatsu/repositories/tsukuba2022/tags
 
docker pull bvbnatsu/tsukuba2022:$LATEST_VERSION