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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user