doh-proxy/build.sh

11 lines
186 B
Bash
Raw Normal View History

2023-07-22 18:39:38 +00:00
#!/bin/bash
set -Eeuxo pipefail
if [ -z "${TAG:-}" ]; then
TAG="$(git rev-parse HEAD)"
fi
docker build \
-t "${REGISTRY:-registry.nrd.li}/${CONTAINER:-unhinged/doh}:${TAG}" \
.