Skip to content

Commit 1185c68

Browse files
feat: datahub-upgrade.sh to support old versions (#7891)
Co-authored-by: david-leifker <[email protected]>
1 parent fb9a35b commit 1185c68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
# read -p "Desired datahub version, for example 'v0.10.1' (defaults to newest): " VERSION
4+
VERSION=${DATAHUB_VERSION:-head}
35
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
4-
IMAGE=acryldata/datahub-upgrade:head
6+
IMAGE=acryldata/datahub-upgrade:$DATAHUB_VERSION
57
cd $DIR && docker pull ${IMAGE} && docker run --env-file ./env/docker.env --network="datahub_network" ${IMAGE} "$@"

0 commit comments

Comments
 (0)