chore(build): use :dev tag for bcos.dev registry, :latest for prod

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-23 08:24:35 -04:00
parent 59a7e1187e
commit 9a0d1a6ff2
+8 -1
View File
@@ -12,7 +12,14 @@ while [[ "$#" -gt 0 ]]; do
shift
done
IMAGE="$REGISTRY/hiveiq-aria:latest"
# Use :dev tag for the dev registry, :latest for everything else
if [[ "$REGISTRY" == *"bcos.dev"* ]]; then
TAG="dev"
else
TAG="latest"
fi
IMAGE="$REGISTRY/hiveiq-aria:$TAG"
echo "Building JAR..."
mvn clean package -DskipTests -B