11 lines
187 B
Bash
Executable file
11 lines
187 B
Bash
Executable file
#!/bin/bash
|
|
set -Eeuxo pipefail
|
|
|
|
WWW_COMMIT=$(git rev-parse HEAD)
|
|
WWW_IMAGE="registry.nrd.li/nrdli/www:${WWW_COMMIT}"
|
|
|
|
docker build \
|
|
-t "${WWW_IMAGE}" \
|
|
.
|
|
docker push "${WWW_IMAGE}"
|