Skip to content

Commit

Permalink
Merge pull request #46 from theohbrothers/fix/ci-use-proper-restore-k…
Browse files Browse the repository at this point in the history
…eys-to-restore-docker-cache

Fix (ci): Use proper restore-keys to restore docker cache
  • Loading branch information
leojonathanoh authored Jan 27, 2023
2 parents 3798485 + cb2b0b0 commit 717536d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -456,7 +456,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -592,7 +592,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -728,7 +728,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -864,7 +864,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -1000,7 +1000,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -1136,7 +1136,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -1272,7 +1272,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -1408,7 +1408,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -1544,7 +1544,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -1680,7 +1680,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -1816,7 +1816,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -1952,7 +1952,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -2088,7 +2088,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -2224,7 +2224,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -2360,7 +2360,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -2496,7 +2496,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -2632,7 +2632,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -2768,7 +2768,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -2904,7 +2904,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -3040,7 +3040,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -3176,7 +3176,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -3312,7 +3312,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down Expand Up @@ -3448,7 +3448,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down
2 changes: 1 addition & 1 deletion generate/templates/.github/workflows/ci-master-pr.yml.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $VARIANTS | % {
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}
${{ runner.os }}-buildx-${{ env.VARIANT_TAG }}-
${{ runner.os }}-buildx-
- name: Prepare
Expand Down

0 comments on commit 717536d

Please sign in to comment.