# shellcheck: shell=sh tag_name() { echo "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g' -e 's/^[.-]/_/' } push() { tag=$(tag_name $1) podman push hudctrl:${BUILD_TAG} registry.pyrocufflink.blue/hudctrl:${tag} }