mirror of https://github.com/certd/certd
chore: deploy
parent
35632da284
commit
b5a8a9e08a
|
@ -1,7 +1,14 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
echo "请先输入一个版本号(如 1.0.6):"
|
||||
read version
|
||||
if $CERTD_VERSION; then
|
||||
echo "CERTD_VERSION is set = $CERTD_VERSION"
|
||||
version=$CERTD_VERSION
|
||||
else
|
||||
echo "CERTD_VERSION is not set"
|
||||
echo "请先输入一个版本号(如 1.0.6):"
|
||||
read version
|
||||
fi
|
||||
|
||||
echo "您输入的版本号是: $version"
|
||||
export TAG="$version"
|
||||
sudo -E docker compose up -d
|
||||
|
|
Loading…
Reference in New Issue