Skip to content

Commit 51d7bb5

Browse files
committed
Disable gha cache
1 parent 51ad477 commit 51d7bb5

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.github/workflows/run-ci-cd.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,8 @@ jobs:
108108
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
109109
with:
110110
cache-from: |
111-
type=gha
112111
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-test-backend:cache
113112
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-test-backend:latest
114-
cache-to: |
115-
type=gha,mode=min
116113
context: backend
117114
file: backend/docker/Dockerfile.test
118115
load: true
@@ -139,11 +136,8 @@ jobs:
139136
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
140137
with:
141138
cache-from: |
142-
type=gha
143139
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-test-frontend-unit:cache
144140
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-test-frontend-unit:latest
145-
cache-to: |
146-
type=gha,mode=min
147141
context: frontend
148142
file: frontend/docker/Dockerfile.unit.test
149143
load: true
@@ -242,11 +236,9 @@ jobs:
242236
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
243237
with:
244238
cache-from: |
245-
type=gha
246239
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-backend:staging
247240
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-backend:staging-cache
248241
cache-to: |
249-
type=gha,mode=min
250242
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-backend:staging-cache,mode=max
251243
context: backend
252244
file: backend/docker/Dockerfile
@@ -269,11 +261,9 @@ jobs:
269261
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
270262
with:
271263
cache-from: |
272-
type=gha
273264
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-frontend:staging
274265
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-frontend:staging-cache
275266
cache-to: |
276-
type=gha,mode=min
277267
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-frontend:staging-cache,mode=max
278268
context: frontend
279269
file: frontend/docker/Dockerfile
@@ -418,11 +408,9 @@ jobs:
418408
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
419409
with:
420410
cache-from: |
421-
type=gha
422411
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-backend:production
423412
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-backend:production-cache
424413
cache-to: |
425-
type=gha,mode=min
426414
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-backend:production-cache,mode=max
427415
context: backend
428416
file: backend/docker/Dockerfile
@@ -445,11 +433,9 @@ jobs:
445433
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
446434
with:
447435
cache-from: |
448-
type=gha
449436
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-frontend:production
450437
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-frontend:production-cache
451438
cache-to: |
452-
type=gha,mode=min
453439
type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/owasp-nest-frontend:production-cache,mode=max
454440
context: frontend
455441
file: frontend/docker/Dockerfile

0 commit comments

Comments
 (0)