pictrs/build.sh

12 lines
250 B
Bash
Raw Normal View History

2023-07-23 07:50:32 +00:00
#!/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}"