File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 push :
66 branches :
77 - dev
8+ - main
89
910jobs :
1011 build :
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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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)
2626RUN 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
3131USER sbd_user
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Second Brain Database is **still under active development**. The core functional
3535Docker Pull
3636
3737``` bash
38- docker pull rohanbatra/second-brain-database :latest
38+ docker pull rohanbatra/second_brain_database :latest
3939```
4040
4141
Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change 1- docker pull rohanbatra/second-brain-database :dev
1+ docker pull rohanbatra/second_brain_database :dev
22docker compose up
Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments