#!/bin/bash # Build & push the INTERIM net-tools NPM image (thin fork of upstream jc21). # The from-source build (see README) will later supersede this with :2.13.5. set -euo pipefail IMAGE_NAME="${IMAGE_NAME:-git.alexzaw.dev/alexz/nginx-proxy-manager}" IMAGE_TAG="${IMAGE_TAG:-2.13.5-interim}" cd "$(dirname "$0")" docker build "$@" -t "${IMAGE_NAME}:${IMAGE_TAG}" . docker push "${IMAGE_NAME}:${IMAGE_TAG}" echo "Pushed ${IMAGE_NAME}:${IMAGE_TAG}"