From 03f8506d2320401c1fd446030ebd51c6501fcd0d Mon Sep 17 00:00:00 2001 From: ManDeep Singh Date: Fri, 18 Oct 2024 23:58:14 +0000 Subject: [PATCH] Delete .github/workflow directory --- .github/workflow/docker-publish-image.yml | 49 ----------------------- 1 file changed, 49 deletions(-) delete mode 100644 .github/workflow/docker-publish-image.yml diff --git a/.github/workflow/docker-publish-image.yml b/.github/workflow/docker-publish-image.yml deleted file mode 100644 index 542a28c..0000000 --- a/.github/workflow/docker-publish-image.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Build and Push Docker Images - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - runs-on: ubuntu-latest - - services: - docker: - image: docker:latest - options: >- - --network=host - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Log in to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_TOKEN }} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build and push frontend image - uses: docker/build-push-action@v6 - with: - context: ./frontend - push: true - tags: ${{ secrets.DOCKER_USERNAME }}/booksby-frontend:latest - build-args: | - REACT_APP_BACKEND_URL=${{ vars.REACT_APP_BACKEND_URL }} - - - name: Build and push backend image - uses: docker/build-push-action@v6 - with: - context: ./backend - push: true - tags: ${{ secrets.DOCKER_USERNAME }}/booksby-backend:latest - build-args: | - FRONTEND_URL=${{ vars.FRONTEND_URL }} -