- name: Set up Docker BuildX
id: buildx
uses: docker/setup-buildx-action@v1
with:
install: true
driver-opts: image=moby/buildkit:buildx-stable-1
- name: Enable buildkit cache
uses: actions/cache@v2
with:
path: /tmp/buildkit-cache/buildkit-state.tar
key: ${{ runner.os }}-buildkit-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildkit-
- name: Load buildkit state from cache
uses: dashevo/gh-action-cache-buildkit-state@v1
with:
builder: buildx_buildkit_${{ steps.buildx.outputs.name }}0
cache-path: /tmp/buildkit-cache
cache-max-size: 2g
-
Notifications
You must be signed in to change notification settings - Fork 4
GitHub Action to load buildkit state from cache
License
dashevo/gh-action-cache-buildkit-state
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
GitHub Action to load buildkit state from cache
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published