Skip to content

Commit 01008d4

Browse files
committed
[DOP-25348] Improve image caching
1 parent 576b4d5 commit 01008d4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/scheduler_docker_image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
labels: ${{ steps.meta.outputs.labels }}
8484
pull: true
8585
push: true
86-
cache-to: type=inline
87-
cache-from: mtsrus/syncmaster-scheduler:develop
86+
cache-to: type=gha,mode=max
87+
cache-from: type=gha
8888
platforms: ${{ env.PLATFORMS }}
8989
provenance: mode=max
9090
sbom: true

.github/workflows/server_docker_image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
labels: ${{ steps.meta.outputs.labels }}
8484
pull: true
8585
push: true
86-
cache-to: type=inline
87-
cache-from: mtsrus/syncmaster-server:develop
86+
cache-to: type=gha,mode=max
87+
cache-from: type=gha
8888
platforms: ${{ env.PLATFORMS }}
8989
provenance: mode=max
9090
sbom: true

.github/workflows/worker_docker_image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
labels: ${{ steps.meta.outputs.labels }}
8484
pull: true
8585
push: true
86-
cache-to: type=inline
87-
cache-from: mtsrus/syncmaster-worker:develop
86+
cache-to: type=gha,mode=max
87+
cache-from: type=gha
8888
platforms: ${{ env.PLATFORMS }}
8989
provenance: mode=max
9090
sbom: true

0 commit comments

Comments
 (0)