Skip to content

Commit

Permalink
fix: revert github action verions
Browse files Browse the repository at this point in the history
  • Loading branch information
gerbie-goober committed Aug 4, 2024
1 parent 7c9ef16 commit 85bb5d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/A2_Part1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@v2

- name: Install Docker Compose
run: |
Expand All @@ -26,7 +26,7 @@ jobs:
docker-compose --version
- name: Login to Docker Hub
uses: docker/login-action@v4
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
Expand All @@ -40,6 +40,6 @@ jobs:
docker tag cscc01-linkup_backend:latest ${{ secrets.DOCKERHUB_USERNAME }}/cscc01-linkup_backend:latest
docker push ${{ secrets.DOCKERHUB_USERNAME }}/cscc01-linkup_frontend:latest
docker push ${{ secrets.DOCKERHUB_USERNAME }}/cscc01-linkup_backend:latest
- name: List Docker images
run: docker images
2 changes: 1 addition & 1 deletion .github/workflows/A2_Part2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
docker rm redis || true
docker run -d --name frontend -p 80:3000 ${{ secrets.DOCKERHUB_USERNAME }}/cscc01-linkup_frontend:latest
docker run -d --name backend -p 5000:5000 ${{ secrets.DOCKERHUB_USERNAME }}/cscc01-linkup_backend:latest
- name: Run Automated Tests for Backend
run: |
docker exec backend npm test # Adjust this command to run your tests
Expand Down

0 comments on commit 85bb5d0

Please sign in to comment.