v0.12.0 codes for FCM and rebranded jama to RosterChirp
This commit is contained in:
14
build.sh
14
build.sh
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
# jama — Docker build & release script
|
||||
# rosterchirp — Docker build & release script
|
||||
#
|
||||
# Usage:
|
||||
# ./build.sh # builds jama:latest
|
||||
# ./build.sh 1.2.0 # builds jama:1.2.0 AND jama:latest
|
||||
# ./build.sh # builds rosterchirp:latest
|
||||
# ./build.sh 1.2.0 # builds rosterchirp:1.2.0 AND rosterchirp:latest
|
||||
# ./build.sh 1.2.0 push # builds, tags, and pushes to registry
|
||||
#
|
||||
# To push to a registry, set REGISTRY env var:
|
||||
@@ -13,10 +13,10 @@
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
set -euo pipefail
|
||||
|
||||
VERSION="${1:-0.11.26}"
|
||||
VERSION="${1:-0.12.0}"
|
||||
ACTION="${2:-}"
|
||||
REGISTRY="${REGISTRY:-}"
|
||||
IMAGE_NAME="jama"
|
||||
IMAGE_NAME="rosterchirp"
|
||||
|
||||
# If a registry is set, prefix image name
|
||||
if [[ -n "$REGISTRY" ]]; then
|
||||
@@ -26,7 +26,7 @@ else
|
||||
fi
|
||||
|
||||
echo "╔══════════════════════════════════════╗"
|
||||
echo "║ jama Docker Builder ║"
|
||||
echo "║ rosterchirp Docker Builder ║"
|
||||
echo "╠══════════════════════════════════════╣"
|
||||
echo "║ Image : ${FULL_IMAGE}"
|
||||
echo "║ Version : ${VERSION}"
|
||||
@@ -67,7 +67,7 @@ fi
|
||||
echo ""
|
||||
echo "─────────────────────────────────────────"
|
||||
echo "To deploy this version, set in your .env:"
|
||||
echo " JAMA_VERSION=${VERSION}"
|
||||
echo " ROSTERCHIRP_VERSION=${VERSION}"
|
||||
echo ""
|
||||
echo "Then run:"
|
||||
echo " docker compose up -d"
|
||||
|
||||
Reference in New Issue
Block a user