Skip to content

Commit a0f7292

Browse files
committed
ci: add layer caching
1 parent abd12d3 commit a0f7292

15 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
platforms: ${{ matrix.variant.platform }}
9393
push: ${{ github.event_name != 'pull_request' }}
9494
labels: ${{ steps.meta.outputs.labels }}
95+
cache-from: type=gha
96+
cache-to: type=gha,mode=max
9597
tags: |
9698
webhippie/unifi:latest-${{ matrix.variant.arch }}
9799
quay.io/webhippie/unifi:latest-${{ matrix.variant.arch }}

.github/workflows/v5.10.yml

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

.github/workflows/v5.11.yml

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

.github/workflows/v5.12.yml

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

.github/workflows/v5.6.yml

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

.github/workflows/v6.0.yml

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

.github/workflows/v6.1.yml

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

.github/workflows/v6.2.yml

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

.github/workflows/v7.0.yml

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

.github/workflows/v7.1.yml

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

0 commit comments

Comments
 (0)