Skip to content

Commit 6cc1f1f

Browse files
Deployment Fix
1 parent 2b82aa7 commit 6cc1f1f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build-docker-images.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

deployment/Dockerfile-nginx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ EXPOSE 80
1313
EXPOSE 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/
1717
CMD ["cmd-nginx.sh"]

deployment/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.8"
22

33
services:
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:

0 commit comments

Comments
 (0)