* Adds pipecat.runner.run - FastAPI-based development server with automatic bot discovery * Adds new RunnerArguments types for different transports * Adds new runner utils for creating transports and parsing data * Adds new Daily and LiveKit utils for setup
19 lines
688 B
Bash
Executable File
19 lines
688 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
VERSION="0.1"
|
|
DOCKER_USERNAME="your_docker_username"
|
|
AGENT_NAME="cloud-simple-bot"
|
|
|
|
# Build the Docker image with the correct context
|
|
echo "Building Docker image..."
|
|
docker build --platform=linux/arm64 -t "$DOCKER_USERNAME/$AGENT_NAME:$VERSION" -t "$DOCKER_USERNAME/$AGENT_NAME:latest" .
|
|
|
|
# Push the Docker images
|
|
echo "Pushing Docker image $DOCKER_USERNAME/$AGENT_NAME:$VERSION..."
|
|
docker push "$DOCKER_USERNAME/$AGENT_NAME:$VERSION"
|
|
|
|
echo "Pushing Docker image $DOCKER_USERNAME/$AGENT_NAME:latest..."
|
|
docker push "$DOCKER_USERNAME/$AGENT_NAME:latest"
|
|
|
|
echo "Successfully built and pushed $DOCKER_USERNAME/$AGENT_NAME:$VERSION and $DOCKER_USERNAME/$AGENT_NAME:latest" |