From 1fb2d8a6c4354e319a2c7cf387d2e5f537513093 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 11 Dec 2024 15:29:44 +0530 Subject: [PATCH] Fixed: github workflow --- .github/workflows/node.js.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index bec78ec..580bc89 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # Setup Buildx (latest version) - - name: Cache Docker layers (optional but recommended for faster builds) + - name: Cache Docker layers uses: actions/cache@v4 with: path: /tmp/.buildx-cache @@ -25,5 +25,4 @@ jobs: ${{ runner.os }}-buildx- - name: Build and run Docker Compose - run: | - docker-compose up -d # Run Docker Compose in detached mode + run: sudo docker compose up -d # Run Docker Compose in detached mode