Skip to content

Commit

Permalink
Add a second --cache-from pointing at main branch (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave committed May 12, 2023
1 parent efdd6a3 commit 03fea38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
with:
context: .
push: false
cache-from: type=gha,scope=${{ github.ref_name }}-${{ matrix.rust-features }}
cache-from: |
type=gha,scope=main-${{ matrix.rust-features }}
type=gha,scope=${{ github.ref_name }}-${{ matrix.rust-features }}
cache-to: type=gha,scope=${{ github.ref_name }}-${{ matrix.rust-features }},mode=max
build-args: |
GIT_REVISION=${{ steps.git.outputs.GIT_REVISION }}
Expand Down

0 comments on commit 03fea38

Please sign in to comment.