Skip to content

Commit

Permalink
remove second cache statement and make yarn command clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesw committed Nov 25, 2024
1 parent ee1b4fa commit 42c5f4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/bld_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.build.yarn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /app

COPY package.json .

RUN yarn
RUN yarn install --frozen-lockfile

COPY *.json .

Expand Down

0 comments on commit 42c5f4c

Please sign in to comment.