Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ jobs:
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: docker-cache-${{ github.sha }}
path: /tmp/.buildx-cache

run_tests:
runs-on: ubuntu-latest
needs: cache_multi
Expand All @@ -72,13 +78,19 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v1

- name: Cache Docker layers
uses: actions/cache@v2
- name: Download cache
uses: actions/download-artifact@v2
with:
name: docker-cache-${{ github.sha }}
path: /tmp/.buildx-cache
key: ${{ runner.os }}-multi-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-multi-buildx

# - name: Cache Docker layers
# uses: actions/cache@v2
# with:
# path: /tmp/.buildx-cache
# key: ${{ runner.os }}-multi-buildx-${{ github.sha }}
# restore-keys: |
# ${{ runner.os }}-multi-buildx

- name: Build test image
uses: docker/build-push-action@v2
Expand Down