Add deployment scripts

This commit is contained in:
2025-06-14 18:31:24 +02:00
parent 031b139657
commit e7b8fe337a
4 changed files with 69 additions and 0 deletions

16
deploy.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
set -e
# Build the application
echo "Building the application..."
bun run build
# Get the tag or use latest
TAG=$(git describe --tags --exact-match 2>/dev/null || echo "latest")
echo "Building docker image with tag: $TAG"
# Build and push the Docker image
docker build -t docker.site.quack-lab.dev/signaturer:$TAG .
docker push docker.site.quack-lab.dev/signaturer:$TAG
echo "Deployment completed successfully!"