File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4444 with :
4545 context : .
4646 push : true
47- tags : ${{ secrets.DOCKER_REGISTRY }}/rmmgain:${{ github.ref_name }}
47+ tags : ${{ secrets.DOCKER_REGISTRY }}/rmmgain:${{ github.ref_name }}-frontend
4848 build-args : |
4949 NEXT_PUBLIC_BACKEND_URL=${{ secrets.NEXT_PUBLIC_BACKEND_URL }}
5050 NEXT_PUBLIC_FRONTEND_URL=${{ secrets.NEXT_PUBLIC_FRONTEND_URL }}
5858 context : .
5959 file : ./backend/Dockerfile
6060 push : true
61- tags : ${{ secrets.DOCKER_REGISTRY }}/rmmgain-backend :${{ github.ref_name }}
61+ tags : ${{ secrets.DOCKER_REGISTRY }}/rmmgain:${{ github.ref_name }}-backend
6262
6363 - name : Configure SSH
6464 run : |
Original file line number Diff line number Diff line change 11services :
22 frontend :
3- image : ${DOCKER_REGISTRY}/rmmgain:${DOCKER_BRANCH}
4- container_name : ${DOCKER_BRANCH}-rmmgain
3+ image : ${DOCKER_REGISTRY}/rmmgain:${DOCKER_BRANCH}-frontend
4+ container_name : ${DOCKER_BRANCH}-rmmgain-frontend
55 environment :
66 - NODE_ENV=production
77 - NEXT_PUBLIC_BACKEND_URL=http://backend:5000
@@ -20,7 +20,7 @@ services:
2020 restart : always
2121
2222 backend :
23- image : ${DOCKER_REGISTRY}/rmmgain-backend :${DOCKER_BRANCH}
23+ image : ${DOCKER_REGISTRY}/rmmgain:${DOCKER_BRANCH}-backend
2424 container_name : ${DOCKER_BRANCH}-rmmgain-backend
2525 environment :
2626 - NODE_ENV=production
You can’t perform that action at this time.
0 commit comments