Skip to content

Commit

Permalink
Fix cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
pbzweihander committed Aug 15, 2023
1 parent 0e5cbb8 commit a5e9e0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ jobs:
type=ref,event=pr
flavor:
latest=auto
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: docker-build-cache
key: ${{ runner.os }}-docker-build-cache
key: |
${{ runner.os }}-docker-build-cache-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('frontend/yarn.lock') }}
${{ runner.os }}-docker-build-cache-
- uses: overmindtech/buildkit-cache-dance/inject@main
with:
cache-source: docker-build-cache
- uses: actions/checkout@v3
- uses: docker/build-push-action@v4
with:
context: .
Expand Down

0 comments on commit a5e9e0c

Please sign in to comment.