File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ jobs:
2323 uses : docker/login-action@v1
2424 with :
2525 registry : ghcr.io
26- username : ay2324s1-course-assessment-g21
26+ username : peerprep
2727 password : ${{ secrets.GITHUB_TOKEN }}
2828 - name : Build and Push Docker Image
2929 uses : docker/build-push-action@v2
3030 with :
3131 context : .
3232 file : deployment/Dockerfile-frontend
3333 push : true
34- tags : ghcr.io/ay2324s1-course-assessment-g21 /${{ env.FRONTEND_IMAGE_NAME }}:latest
34+ tags : ghcr.io/peerprep /${{ env.FRONTEND_IMAGE_NAME }}:latest
3535
3636 build-nginx-image :
3737 runs-on : ubuntu-latest
@@ -45,12 +45,12 @@ jobs:
4545 uses : docker/login-action@v1
4646 with :
4747 registry : ghcr.io
48- username : ay2324s1-course-assessment-g21
48+ username : peerprep
4949 password : ${{ secrets.GITHUB_TOKEN }}
5050 - name : Build and Push Docker Image
5151 uses : docker/build-push-action@v2
5252 with :
5353 context : .
5454 file : deployment/Dockerfile-nginx
5555 push : true
56- tags : ghcr.io/ay2324s1-course-assessment-g21 /${{ env.NGINX_IMAGE_NAME }}:latest
56+ tags : ghcr.io/peerprep /${{ env.NGINX_IMAGE_NAME }}:latest
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ EXPOSE 80
1313EXPOSE 443
1414
1515# Add a script containing the main command to be executed
16- COPY deployment/scripts/cmd-frontend .sh /usr/bin/
16+ COPY deployment/scripts/cmd-nginx .sh /usr/bin/
1717CMD ["cmd-nginx.sh"]
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: "3.8"
22
33services :
44 frontend :
5- image : ghcr.io/ay2324s1-course-assessment-g21 /peerprep-frontend:latest
5+ image : ghcr.io/peerprep /peerprep-frontend:latest
66 container_name : peerprep-frontend
77 restart : always
88 depends_on :
@@ -15,7 +15,7 @@ services:
1515 - " 3000"
1616
1717 nginx :
18- image : ghcr.io/ay2324s1-course-assessment-g21 /peerprep-nginx:latest
18+ image : ghcr.io/peerprep /peerprep-nginx:latest
1919 container_name : peerprep-nginx
2020 restart : always
2121 volumes :
You can’t perform that action at this time.
0 commit comments