Skip to content

Commit 21c04e8

Browse files
committed
disabled cache for jib build tasks
1 parent b28b8c3 commit 21c04e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_test_package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ jobs:
224224
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
225225
uses: gradle/gradle-build-action@v2
226226
with:
227-
cache-disabled: false
227+
cache-disabled: true
228228
# Cache storage space is limited for GitHub actions
229-
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
229+
# cache-read-only: ${{ github.ref != 'refs/heads/main' }}
230230
arguments: |
231231
:cosmotech-api:jib
232232
-Djib.to.image=localhost:5000/cosmotech-api:latest
@@ -301,9 +301,9 @@ jobs:
301301
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
302302
uses: gradle/gradle-build-action@v2
303303
with:
304-
cache-disabled: false
304+
cache-disabled: true
305305
# Cache storage space is limited for GitHub actions
306-
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
306+
# cache-read-only: ${{ github.ref != 'refs/heads/main' }}
307307
arguments: |
308308
:cosmotech-api:jibDockerBuild
309309
-Djib.to.image=com.cosmotech/cosmotech-api:${{ github.sha }}

0 commit comments

Comments
 (0)