Skip to content

Commit

Permalink
Prevent any caching between repo versions
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken committed Oct 19, 2020
1 parent de6a820 commit eb5eb3c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/new-base-image-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ jobs:
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-base-${{ github.sha }}
key: ${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-base-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-base
${{ runner.os }}-buildx-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-base
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-
###########################
# Base image #
###########################
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/new-editor-image-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ jobs:
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-${{ matrix.targetPlatform }}-${{ github.sha }}
key: ${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-${{ matrix.targetPlatform }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-${{ matrix.targetPlatform }}-
${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-
${{ runner.os }}-buildx-editor-
${{ runner.os }}-buildx-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-${{ matrix.targetPlatform }}-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-editor-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-
###########################
# Free disk space #
###########################
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/new-hub-image-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ jobs:
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-hub-${{ github.sha }}
key: ${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-hub-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-hub
${{ runner.os }}-buildx-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-hub
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-
###########################
# Pull previous images #
###########################
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/retry-editor-image-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ jobs:
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-${{ github.event.client_payload.targetPlatform }}-${{ github.sha }}
key: ${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-${{ github.event.client_payload.targetPlatform }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-${{ github.event.client_payload.targetPlatform }}-
${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-
${{ runner.os }}-buildx-editor-
${{ runner.os }}-buildx-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-${{ github.event.client_payload.targetPlatform }}-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-editor-${{ github.event.client_payload.editorVersion }}-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-editor-
${{ github.event.client_payload.repoVersionFull }}-${{ runner.os }}-buildx-
###########################
# Free disk space #
###########################
Expand Down

0 comments on commit eb5eb3c

Please sign in to comment.