unarr/docker-build.sh
Deivid Soto 5a7449b9e6 chore: rename module from torrentclaw-cli to unarr
- Rename Go module path github.com/torrentclaw/torrentclaw-cli → github.com/torrentclaw/unarr
- Update all imports, ldflags, scripts, docs, and Docker config
- Add GitHub Actions release workflow (goreleaser on tag push)
2026-03-30 13:06:07 +02:00

17 lines
479 B
Bash
Executable file

#!/bin/sh
# Build the unarr Docker image.
# Must be run from the unarr directory (or its parent).
set -e
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PARENT_DIR="$(dirname "$SCRIPT_DIR")"
# Build from parent dir so both unarr/ and go-client/ are in context
docker build \
-f "$SCRIPT_DIR/Dockerfile" \
-t torrentclaw/unarr:latest \
"$PARENT_DIR"
echo ""
echo "✓ Built: torrentclaw/unarr:latest"
docker images torrentclaw/unarr:latest --format " Size: {{.Size}}"