12 lines
250 B
Bash
12 lines
250 B
Bash
|
#!/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}"
|