support buildkit cache export/import

- Add support for buildkit cache export/import
- Enable GHA cache for universe test (using buildkit v0.9 GHA support)

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-07-23 16:05:49 +02:00
parent d867498ef9
commit 67d5609aee
13 changed files with 127 additions and 24 deletions

View File

@@ -89,8 +89,15 @@ jobs:
mkdir -p ~/.config/dagger
echo "$DAGGER_AGE_KEY" > ~/.config/dagger/keys.txt
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v1
- name: Integration test
env:
DAGGER_CACHE_TO: "type=gha,scope=integration"
DAGGER_CACHE_FROM: "type=gha,scope=integration"
run: |
env
make core-integration
universe:
@@ -116,6 +123,12 @@ jobs:
mkdir -p ~/.config/dagger
echo "$DAGGER_AGE_KEY" > ~/.config/dagger/keys.txt
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v1
- name: Universe Test
env:
DAGGER_CACHE_TO: "type=gha,scope=universe"
DAGGER_CACHE_FROM: "type=gha,scope=universe"
run: |
make universe-test