From 85bb5d0815fb3598e3b2a92346aec4629e437fa8 Mon Sep 17 00:00:00 2001 From: gerbie_goober Date: Sun, 4 Aug 2024 18:22:00 -0400 Subject: [PATCH] fix: revert github action verions --- .github/workflows/A2_Part1.yml | 6 +++--- .github/workflows/A2_Part2.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/A2_Part1.yml b/.github/workflows/A2_Part1.yml index 5f9dd45..bc0a7b4 100644 --- a/.github/workflows/A2_Part1.yml +++ b/.github/workflows/A2_Part1.yml @@ -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: | @@ -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 }} @@ -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 diff --git a/.github/workflows/A2_Part2.yml b/.github/workflows/A2_Part2.yml index 9c0d43b..7bfa8d8 100644 --- a/.github/workflows/A2_Part2.yml +++ b/.github/workflows/A2_Part2.yml @@ -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