Skip to content

Artifactish #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
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