Skip to content

Commit cafa833

Browse files
authored
Merge pull request #16 from rohanbatrain/dev
Dev
2 parents dd757b1 + 5f0ba82 commit cafa833

8 files changed

Lines changed: 17 additions & 16 deletions

File tree

.github/workflows/dev.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- dev
8+
- main
89

910
jobs:
1011
build:
@@ -29,8 +30,8 @@ jobs:
2930
# Build and push Docker image to Docker Hub
3031
- name: Build and Push Docker image (Docker Hub)
3132
run: |
32-
docker build -t rohanbatra/second-brain-database:dev .
33-
docker push rohanbatra/second-brain-database:dev
33+
docker build -t rohanbatra/second_brain_database:latest .
34+
docker push rohanbatra/second_brain_database:latest
3435
3536
- name: Publish to Github Registry
3637
uses: elgohr/Publish-Docker-Github-Action@v5

.github/workflows/pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ jobs:
5757
5858
- name: Build and push Docker image (Docker Hub)
5959
run: |
60-
docker build -t rohanbatra/second-brain-database:${{ env.VERSION }} .
61-
docker push rohanbatra/second-brain-database:${{ env.VERSION }}
60+
docker build -t rohanbatra/second_brain_database:${{ env.VERSION }} .
61+
docker push rohanbatra/second_brain_database:${{ env.VERSION }}
6262
6363
- name: Push Docker image to GHCR
6464
run: |
65-
docker tag rohanbatra/second-brain-database:${{ env.VERSION }} ghcr.io/rohanbatrain/second_brain_database:${{ env.VERSION }}
65+
docker tag rohanbatra/second_brain_database:${{ env.VERSION }} ghcr.io/rohanbatrain/second_brain_database:${{ env.VERSION }}
6666
docker push ghcr.io/rohanbatrain/second_brain_database:${{ env.VERSION }}
6767
6868
- name: Set up Python

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN chown -R sbd_user:sbd_user /app
2525
# Install your package (assuming setup.py or pyproject.toml exists)
2626
RUN pip install .
2727

28-
RUN pip install second-brain-database
28+
RUN pip install second_brain_database
2929

3030
# Switch to the non-root user
3131
USER sbd_user

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Second Brain Database is **still under active development**. The core functional
3535
Docker Pull
3636

3737
```bash
38-
docker pull rohanbatra/second-brain-database:latest
38+
docker pull rohanbatra/second_brain_database:latest
3939
```
4040

4141

dev-environment/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ services:
1313
ports:
1414
- "6379:6379"
1515

16-
second-brain-database:
17-
image: rohanbatra/second-brain-database:dev # or use build: . if needed
18-
container_name: second-brain-database
16+
second_brain_database:
17+
image: rohanbatra/second_brain_database:dev # or use build: . if needed
18+
container_name: second_brain_database
1919
ports:
2020
- "5000:5000"
2121
volumes:

dev-environment/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
docker pull rohanbatra/second-brain-database:dev
1+
docker pull rohanbatra/second_brain_database:dev
22
docker compose up

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ services:
1313
ports:
1414
- "6379:6379"
1515

16-
second-brain-database:
17-
image: rohanbatra/second-brain-database:latest # or use build: . if needed
18-
container_name: second-brain-database
16+
second_brain_database:
17+
image: rohanbatra/second_brain_database:latest # or use build: . if needed
18+
container_name: second_brain_database
1919
ports:
2020
- "5000:5000"
2121
volumes:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ dependencies = [
3434

3535

3636
[project.urls]
37-
"Homepage" = "https://github.com/rohanbatrain/second-brain-database"
38-
"Bug Tracker" = "https://github.com/rohanbatrain/second-brain-database/issues"
37+
"Homepage" = "https://github.com/rohanbatrain/second_brain_database"
38+
"Bug Tracker" = "https://github.com/rohanbatrain/second_brain_database/issues"

0 commit comments

Comments
 (0)