From 42c5f4ce9274f261ecb8f77897e8ab4b460ad3e9 Mon Sep 17 00:00:00 2001 From: Giles Westwood Date: Mon, 25 Nov 2024 23:19:36 +0000 Subject: [PATCH] remove second cache statement and make yarn command clearer --- .github/workflows/bld_docker.yml | 10 +--------- Dockerfile.build.yarn | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/bld_docker.yml b/.github/workflows/bld_docker.yml index be6fd1cab..70ba4bc01 100644 --- a/.github/workflows/bld_docker.yml +++ b/.github/workflows/bld_docker.yml @@ -142,15 +142,7 @@ jobs: bump: ${{ inputs.bump }} - uses: docker/setup-buildx-action@v3 - - uses: actions/cache@v4 - with: - path: /tmp/.buildx-cache - # each cache needs a unique key for the job - key: ${{ runner.os }}-buildx-${{ hashFiles(inputs.context) }} - # Alternative restore keys if no exact match is found - # I /think/ this means that other docker buildx jobs could help out here - restore-keys: | - ${{ runner.os }}-buildx- + - name: Login to private registry uses: docker/login-action@v3 with: diff --git a/Dockerfile.build.yarn b/Dockerfile.build.yarn index 1805b7ae8..766a789dd 100644 --- a/Dockerfile.build.yarn +++ b/Dockerfile.build.yarn @@ -6,7 +6,7 @@ WORKDIR /app COPY package.json . -RUN yarn +RUN yarn install --frozen-lockfile COPY *.json .