#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' BLOGPIMPATH=$(nix build .#packages.x86_64-linux.blog-pim --print-out-paths --no-link) GITREV=$(git rev-parse HEAD) docker load < $BLOGPIMPATH docker tag blog-pim:latest git.kun.is/home/blog-pim:$GITREV docker push git.kun.is/home/blog-pim:$GITREV