add readme and fix docker.sh

This commit is contained in:
zefie committed 2026-11-04 16:49:59 -05:00
1 parent 3674fe921b
commit be97590146
2 files changed
+31

No files matched your search

+3
View File
@@ -8,6 +8,7 @@ get_latest() {
latest_image=$(docker images --format '{{.CreatedAt}}\t{{.Repository}}:{{.Tag}}' zefie/nvfp4_quant \
| sort -r \
| cut -f2- \
| grep -v latest \
| head -n 1)
if [[ -z "$latest_image" ]]; then
@@ -44,7 +45,9 @@ elif [ "${1}" == "push" ]; then
# push dated one first, then latest
"${0}" mklatest
IMAGE=$(get_latest)
echo "Pushing ${IMAGE}"
docker push "${IMAGE}"
echo "Pushing zefie/nvfp4_quant:latest"
docker push "zefie/nvfp4_quant:latest"
else
echo "Usage: ${0} [build|run|mklatest]"