Skip to content

Commit 3383ec6

Browse files
committed
chore: revert caching
1 parent 0cfc6b5 commit 3383ec6

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.github/workflows/apps.yml

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

.github/workflows/base.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
file: ./base/${{ matrix.base }}/Dockerfile
4949
platforms: linux/amd64,linux/arm64/v8
5050
push: true
51-
tags: |
52-
cubecoders/ampbase:${{ matrix.base }}
53-
cache-from: type=registry,ref=cubecoders/ampbase:${{ matrix.base }}
54-
cache-to: type=inline
51+
pull: true
52+
tags: cubecoders/ampbase:${{ matrix.base }}
53+
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.base }}
54+
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.base }}
5555
provenance: mode=max
5656
sbom: true
5757

.github/workflows/java.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
push: true
7373
pull: true
7474
tags: cubecoders/ampbase:java-${{ matrix.java }}
75-
cache-from: type=registry,ref=cubecoders/ampbase:java-${{ matrix.java }}
76-
cache-to: type=inline
75+
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.java }}
76+
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.java }}
7777
provenance: mode=max
7878
sbom: true
7979

.github/workflows/mono.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
push: true
7373
pull: true
7474
tags: cubecoders/ampbase:mono-${{ matrix.mono }}
75-
cache-from: type=registry,ref=cubecoders/ampbase:mono-${{ matrix.mono }}
76-
cache-to: type=inline
75+
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.mono }}
76+
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.mono }}
7777
provenance: mode=max
7878
sbom: true
7979

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ jobs:
7878
push: true
7979
pull: true
8080
tags: cubecoders/ampbase:python-${{ matrix.python }}
81-
cache-from: type=registry,ref=cubecoders/ampbase:python-${{ matrix.python }}
82-
cache-to: type=inline
81+
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.python }}
82+
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.python }}
8383
provenance: mode=max
8484
sbom: true
8585

.github/workflows/wine.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ jobs:
7171
push: true
7272
pull: true
7373
tags: cubecoders/ampbase:wine-common
74-
cache-from: type=registry,ref=cubecoders/ampbase:wine-common
75-
cache-to: type=inline
74+
cache-from: type=gha,scope=${{ github.workflow }}-common
75+
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-common
7676
provenance: mode=max
7777
sbom: true
7878

@@ -111,9 +111,9 @@ jobs:
111111
pull: true
112112
tags: cubecoders/ampbase:wine-${{ matrix.version }}
113113
cache-from: |
114-
type=registry,ref=cubecoders/ampbase:wine-common
115-
type=registry,ref=cubecoders/ampbase:wine-${{ matrix.version }}
116-
cache-to: type=inline
114+
type=gha,scope=${{ github.workflow }}-common
115+
type=gha,scope=${{ github.workflow }}-${{ matrix.version }}
116+
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.version }}
117117
provenance: mode=max
118118
sbom: true
119119

0 commit comments

Comments
 (0)