Skip to content

Commit f9665ca

Browse files
committed
feat: switch GH action caching
1 parent 9e9ff19 commit f9665ca

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

.github/workflows/apps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ jobs:
9999
push: true
100100
pull: true
101101
tags: cubecoders/ampbase:${{ matrix.app }}
102-
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.app }}
103-
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.app }}
102+
cache-from: type=registry,ref=cubecoders/ampbase:${{ matrix.app }}
103+
cache-to: type=inline
104104
provenance: mode=max
105105
sbom: true
106106

.github/workflows/base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
push: true
4949
tags: |
5050
cubecoders/ampbase:${{ matrix.base }}
51-
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.base }}
52-
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.base }}
51+
cache-from: type=registry,ref=cubecoders/ampbase:${{ matrix.base }}
52+
cache-to: type=inline
5353
provenance: mode=max
5454
sbom: true
5555

.github/workflows/java.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ jobs:
7070
push: true
7171
pull: true
7272
tags: cubecoders/ampbase:java-${{ matrix.java }}
73-
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.java }}
74-
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.java }}
73+
cache-from: type=registry,ref=cubecoders/ampbase:java-${{ matrix.java }}
74+
cache-to: type=inline
7575
provenance: mode=max
7676
sbom: true
7777

.github/workflows/mono.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ jobs:
7070
push: true
7171
pull: true
7272
tags: cubecoders/ampbase:mono-${{ matrix.mono }}
73-
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.mono }}
74-
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.mono }}
73+
cache-from: type=registry,ref=cubecoders/ampbase:mono-${{ matrix.mono }}
74+
cache-to: type=inline
7575
provenance: mode=max
7676
sbom: true
7777

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ jobs:
7676
push: true
7777
pull: true
7878
tags: cubecoders/ampbase:python-${{ matrix.python }}
79-
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.python }}
80-
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.python }}
79+
cache-from: type=registry,ref=cubecoders/ampbase:python-${{ matrix.python }}
80+
cache-to: type=inline
8181
provenance: mode=max
8282
sbom: true
8383

.github/workflows/wine.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
push: true
7070
pull: true
7171
tags: cubecoders/ampbase:wine-common
72-
cache-from: type=gha,scope=${{ github.workflow }}-common
73-
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-common
72+
cache-from: type=registry,ref=cubecoders/ampbase:wine-common
73+
cache-to: type=inline
7474
provenance: mode=max
7575
sbom: true
7676

@@ -107,9 +107,9 @@ jobs:
107107
pull: true
108108
tags: cubecoders/ampbase:wine-${{ matrix.version }}
109109
cache-from: |
110-
type=gha,scope=${{ github.workflow }}-wine-common
111-
type=gha,scope=${{ github.workflow }}-wine-${{ matrix.version }}
112-
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.version }}
110+
type=registry,ref=cubecoders/ampbase:wine-common
111+
type=registry,ref=cubecoders/ampbase:wine-${{ matrix.version }}
112+
cache-to: type=inline
113113
provenance: mode=max
114114
sbom: true
115115

0 commit comments

Comments
 (0)