chore: rename project to bakit
All checks were successful
Publish Docker Images / build-and-publish (push) Successful in 13m40s

This commit is contained in:
2025-11-20 11:01:21 +01:00
parent c46ab8397c
commit ce28426075
7 changed files with 38 additions and 38 deletions

View File

@@ -12,11 +12,11 @@ gitea: none
<br/>
<div align="center">
<a href="https://sonar.phundrak.com/dashboard?id=phundrak-backend" target="_blank">
<img src="https://sonar.phundrak.com/api/project_badges/measure?project=phundrak-backend&metric=coverage&token=sqb_bda24bf36825576d6c6b76048044e103339c3c5f" alt="Sonar Coverage" />
<a href="https://sonar.phundrak.com/dashboard?id=bakit" target="_blank">
<img src="https://sonar.phundrak.com/api/project_badges/measure?project=bakit&metric=coverage&token=sqb_bda24bf36825576d6c6b76048044e103339c3c5f" alt="Sonar Coverage" />
</a>
<a href="https://sonar.phundrak.com/dashboard?id=phundrak-backend" target="_blank">
<img src="https://sonar.phundrak.com/api/project_badges/measure?project=phundrak-backend&metric=alert_status&token=sqb_bda24bf36825576d6c6b76048044e103339c3c5f" alt="Sonar Quality Gate Status" />
<a href="https://sonar.phundrak.com/dashboard?id=bakit" target="_blank">
<img src="https://sonar.phundrak.com/api/project_badges/measure?project=bakit&metric=alert_status&token=sqb_bda24bf36825576d6c6b76048044e103339c3c5f" alt="Sonar Quality Gate Status" />
</a>
<a href="#license">
<img src="https://img.shields.io/badge/License-AGPL--3.0--only-blue" alt="License" />
@@ -141,14 +141,14 @@ For optimized production builds:
cargo build --release
```
The compiled binary will be at `target/release/backend`.
The compiled binary will be at `target/release/bakit`.
**With Nix:**
Build the backend binary:
```bash
nix build .#backend
# Binary available at: ./result/bin/backend
# Binary available at: ./result/bin/bakit
```
Build Docker images:
@@ -161,7 +161,7 @@ nix build .#backendDockerLatest
# Load into Docker
docker load < result
# Image will be available as: localhost/phundrak/backend-rust:latest
# Image will be available as: localhost/phundrak/bakit:latest
```
The Nix build ensures reproducible builds with all dependencies pinned.
@@ -336,7 +336,7 @@ Docker images are automatically built and published via GitHub Actions to the co
Pull and run the latest image:
```bash
# Pull from Phundrak Labs (labs.phundrak.com)
docker pull labs.phundrak.com/phundrak/phundrak-dot-com-backend:latest
docker pull labs.phundrak.com/phundrak/bakit:latest
# Run the container
docker run -d \
@@ -349,7 +349,7 @@ docker run -d \
-e APP__EMAIL__PASSWORD=your_password \
-e APP__EMAIL__FROM="Contact Form <noreply@example.com>" \
-e APP__EMAIL__RECIPIENT="Admin <admin@example.com>" \
labs.phundrak.com/phundrak/phundrak-dot-com-backend:latest
labs.phundrak.com/phundrak/bakit:latest
```
### Available Image Tags
@@ -367,7 +367,7 @@ Build with Nix (recommended for reproducibility):
```bash
nix build .#backendDockerLatest
docker load < result
docker run -p 3100:3100 localhost/phundrak/backend-rust:latest
docker run -p 3100:3100 localhost/phundrak/bakit:latest
```
Build with Docker directly:
@@ -383,7 +383,7 @@ version: '3.8'
services:
backend:
image: labs.phundrak.com/phundrak/phundrak-dot-com-backend:latest
image: labs.phundrak.com/phundrak/bakit:latest
ports:
- "3100:3100"
environment:
@@ -435,7 +435,7 @@ To use the published images, authenticate with the registry:
echo $GITHUB_TOKEN | docker login labs.phundrak.com -u USERNAME --password-stdin
# Pull the image
docker pull labs.phundrak.com/phundrak/phundrak-dot-com-backend:latest
docker pull labs.phundrak.com/phundrak/bakit:latest
```
### Required Secrets