Skip to content

Commit 28f01a0

Browse files
author
Francisco
committed
fix: update build cache configuration and remove redundant Docker prune step in CI workflow
1 parent 8cf51b1 commit 28f01a0

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ jobs:
139139
username: thanosprime
140140
password: ${{ secrets.DOCKERHUB_THANOSPRIME }}
141141

142-
- name: "🧼 Prune Docker System Cache"
143-
run: docker system prune -af || true
144-
145142
# ----- semantic-release -------------------------------------------------
146143
- name: "🚀 Setup Node.js"
147144
uses: actions/setup-node@v4
@@ -209,8 +206,8 @@ jobs:
209206
tags: ${{ steps.meta_api.outputs.tags }}
210207
labels: ${{ steps.meta_api.outputs.labels }}
211208
platforms: linux/amd64
212-
cache-from: type=gha
213-
cache-to: type=gha,mode=max
209+
cache-from: type=gha,scope=api
210+
cache-to: type=gha,mode=max,scope=api
214211

215212
# ---------------- Build / Push Sandbox --------------
216213
- name: "🏗️ Build & Push Sandbox Image"
@@ -222,5 +219,5 @@ jobs:
222219
tags: ${{ steps.meta_sandbox.outputs.tags }}
223220
labels: ${{ steps.meta_sandbox.outputs.labels }}
224221
platforms: linux/amd64
225-
cache-from: type=gha
226-
cache-to: type=gha,mode=max
222+
cache-from: type=gha,scope=sandbox
223+
cache-to: type=gha,mode=max,scope=sandbox

0 commit comments

Comments
 (0)