Skip to content

Commit

Permalink
Experimental type=gha caching
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jan 15, 2022
1 parent dbbf1d1 commit 8d25124
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ jobs:
context: .
push: true
tags: bcgov-nr/greenfield-pipeline:pr-${{ github.pull_request.number }}
cache-from: type=registry,ref=bcgov-nr/greenfield-pipeline:pr-${{ github.pull_request.number }}
cache-to: type=inline
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
deploy:
name: Deploy
Expand Down

0 comments on commit 8d25124

Please sign in to comment.