From da5480e18618b743bcc36dd9cd3e8c5e4c3f5079 Mon Sep 17 00:00:00 2001 From: Nagendra Dhanakeerthi Date: Sat, 27 Apr 2024 12:56:31 +0400 Subject: [PATCH] UI Docker build fix - github workflow error --- .github/workflows/ui-docker-build.yml | 1 + .github/workflows/ui-docker-hub-push-tags.yaml | 1 + ui/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ui-docker-build.yml b/.github/workflows/ui-docker-build.yml index ba96ab2c..e97195d8 100644 --- a/.github/workflows/ui-docker-build.yml +++ b/.github/workflows/ui-docker-build.yml @@ -41,3 +41,4 @@ jobs: ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} ${{ env.IMAGE_NAME }}:${{ github.sha }} platforms: linux/amd64,linux/arm64 + no-cache: true diff --git a/.github/workflows/ui-docker-hub-push-tags.yaml b/.github/workflows/ui-docker-hub-push-tags.yaml index adb02b1c..d899064a 100644 --- a/.github/workflows/ui-docker-hub-push-tags.yaml +++ b/.github/workflows/ui-docker-hub-push-tags.yaml @@ -41,3 +41,4 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} platforms: linux/amd64,linux/arm64 + no-cache: true diff --git a/ui/Dockerfile b/ui/Dockerfile index cdecc642..94eb3a74 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /app COPY package*.json ./ # Install dependencies -RUN npm install +RUN npm ci # Copy the rest of your application code COPY . .