nrdli/build.sh

11 lines
187 B
Bash
Raw Normal View History

2023-07-23 06:51:06 +00:00
#!/bin/bash
set -Eeuxo pipefail
WWW_COMMIT=$(git rev-parse HEAD)
2023-07-23 06:51:55 +00:00
WWW_IMAGE="registry.nrd.li/nrdli/www:${WWW_COMMIT}"
2023-07-23 06:51:06 +00:00
docker build \
-t "${WWW_IMAGE}" \
.
docker push "${WWW_IMAGE}"