11 lines
186 B
Bash
Executable file
11 lines
186 B
Bash
Executable file
#!/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}" \
|
|
.
|