Skip to content

Commit b9650d3

Browse files
committed
Disabling cache to fix build issues 🩹
1 parent 3c959a7 commit b9650d3

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/docker_dev.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ jobs:
7474
username: ${{ secrets.DOCKERHUB_USERNAME }}
7575
password: ${{ secrets.DOCKERHUB_TOKEN }}
7676

77-
# Disable this after use
78-
- name: Prune Docker Builder
79-
run: docker builder prune --force
77+
# # Disable this after use
78+
# - name: Prune Docker Builder
79+
# run: docker builder prune --force
8080

8181
- name: Build and push
8282
uses: docker/build-push-action@v3
@@ -86,5 +86,6 @@ jobs:
8686
push: ${{ github.event_name != 'pull_request' }}
8787
tags: ${{ steps.meta.outputs.tags }}
8888
labels: ${{ steps.meta.outputs.labels }}
89+
# # ⚠ disable cache if build is failing to download debian packages
8990
# cache-from: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache
9091
# cache-to: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache,mode=max

.github/workflows/docker_prod.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,6 @@ jobs:
8080
push: ${{ github.event_name != 'pull_request' }}
8181
tags: ${{ steps.meta.outputs.tags }}
8282
labels: ${{ steps.meta.outputs.labels }}
83-
cache-from: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache
84-
cache-to: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache,mode=max
83+
# # ⚠ disable cache if build is failing to download debian packages
84+
# cache-from: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache
85+
# cache-to: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache,mode=max

0 commit comments

Comments
 (0)