diff --git a/.github/workflows/ci/ci-cd.yml b/.github/workflows/ci/ci-cd.yml deleted file mode 100644 index be297103..00000000 --- a/.github/workflows/ci/ci-cd.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: CI/CD Pipeline - -on: - push: - branches: - - main - -jobs: - build-and-push-frontend: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Build & push frontend Docker image - uses: mr-smithers-excellent/docker-build-push@v6 - with: - image: saurabhkr952/book-store-mern - tags: frontend-${{ github.sha }} - registry: docker.io - dockerfile: frontend/Dockerfile - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - build-and-push-backend: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Build & push backend Docker image - uses: mr-smithers-excellent/docker-build-push@v6 - with: - image: saurabhkr952/dev-portfolio-backend - tags: backend-${{ github.sha }} - registry: docker.io - dockerfile: backend/Dockerfile - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }}