File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676
7777 - name : Build & Push via Docker Compose
7878 working-directory : projekt
79+ env :
80+ CI_REGISTRY_IMAGE : ghcr.io/${{ github.repository }}
81+ CI_COMMIT_SHA : ${{ github.sha }}
7982 run : |
8083 docker compose -f docker-compose.dev.yml build
8184 docker compose -f docker-compose.dev.yml push
Original file line number Diff line number Diff line change 1+ # Rename this file to .env and fill in the values
2+ JWT_SECRET = your-secret-here
3+ REFRESH_TOKEN_HMAC_SECRET = your-secret-here
4+ POSTGRES_USER = your-user
5+ POSTGRES_DB = your-db
6+ POSTGRES_PASSWORD = your-password
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ services:
1919 - " 1025:1025"
2020
2121 backend :
22- image : " ${CI_REGISTRY_IMAGE:-projekt }/backend:${CI_COMMIT_SHA :-local}"
22+ image : " ${REGISTRY:-ghcr.io/mxsph }/backend:${IMAGE_TAG :-local}"
2323 container_name : backend-app
2424 build :
2525 context : ./backend
@@ -40,7 +40,7 @@ services:
4040 restart : on-failure
4141
4242 frontend :
43- image : " ${CI_REGISTRY_IMAGE:-projekt }/frontend:${CI_COMMIT_SHA :-local}"
43+ image : " ${REGISTRY:-ghcr.io/mxsph }/frontend:${IMAGE_TAG :-local}"
4444 build :
4545 context : ./frontend
4646 dockerfile : Dockerfile.dev
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments