Skip to content

Commit 47fc717

Browse files
committed
ci: add layer caching
1 parent f21f591 commit 47fc717

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ jobs:
9494
platforms: ${{ matrix.variant.platform }}
9595
push: ${{ github.event_name != 'pull_request' }}
9696
labels: ${{ steps.meta.outputs.labels }}
97+
cache-from: type=gha
98+
cache-to: type=gha,mode=max
9799
tags: |
98100
webhippie/python:latest-${{ matrix.variant.arch }}
99101
quay.io/webhippie/python:latest-${{ matrix.variant.arch }}

.github/workflows/v3.10.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ jobs:
9797
platforms: ${{ matrix.variant.platform }}
9898
push: ${{ github.event_name != 'pull_request' }}
9999
labels: ${{ steps.meta.outputs.labels }}
100+
cache-from: type=gha
101+
cache-to: type=gha,mode=max
100102
tags: |
101103
webhippie/python:3.10-${{ matrix.variant.arch }}
102104
quay.io/webhippie/python:3.10-${{ matrix.variant.arch }}

.github/workflows/v3.11.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ jobs:
9797
platforms: ${{ matrix.variant.platform }}
9898
push: ${{ github.event_name != 'pull_request' }}
9999
labels: ${{ steps.meta.outputs.labels }}
100+
cache-from: type=gha
101+
cache-to: type=gha,mode=max
100102
tags: |
101103
webhippie/python:3.11-${{ matrix.variant.arch }}
102104
quay.io/webhippie/python:3.11-${{ matrix.variant.arch }}

.github/workflows/v3.12.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ jobs:
9797
platforms: ${{ matrix.variant.platform }}
9898
push: ${{ github.event_name != 'pull_request' }}
9999
labels: ${{ steps.meta.outputs.labels }}
100+
cache-from: type=gha
101+
cache-to: type=gha,mode=max
100102
tags: |
101103
webhippie/python:3.12-${{ matrix.variant.arch }}
102104
quay.io/webhippie/python:3.12-${{ matrix.variant.arch }}

.github/workflows/v3.9.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ jobs:
9797
platforms: ${{ matrix.variant.platform }}
9898
push: ${{ github.event_name != 'pull_request' }}
9999
labels: ${{ steps.meta.outputs.labels }}
100+
cache-from: type=gha
101+
cache-to: type=gha,mode=max
100102
tags: |
101103
webhippie/python:3.9-${{ matrix.variant.arch }}
102104
quay.io/webhippie/python:3.9-${{ matrix.variant.arch }}

0 commit comments

Comments
 (0)