pictrs/build.sh
2023-07-23 07:50:32 +00:00

12 lines
250 B
Bash
Executable file

#!/bin/bash
set -Eeuxo pipefail
PICTRS_VERSION="${1:-0.4.0}"
PICTRS_IMAGE="registry.nrd.li/nrdli/pictrs:${PICTRS_VERSION}"
docker build \
--build-arg "PICTRS_VERSION=${PICTRS_VERSION}" \
-t "${PICTRS_IMAGE}" \
.
docker push "${PICTRS_IMAGE}"