Disabling cache to fix build issues 🩹
This commit is contained in:
7
.github/workflows/docker_dev.yml
vendored
7
.github/workflows/docker_dev.yml
vendored
@@ -74,9 +74,9 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
# Disable this after use
|
# # Disable this after use
|
||||||
- name: Prune Docker Builder
|
# - name: Prune Docker Builder
|
||||||
run: docker builder prune --force
|
# run: docker builder prune --force
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
@@ -86,5 +86,6 @@ jobs:
|
|||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
# # ⚠ disable cache if build is failing to download debian packages
|
||||||
# cache-from: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache
|
# cache-from: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache
|
||||||
# cache-to: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache,mode=max
|
# cache-to: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache,mode=max
|
||||||
|
|||||||
5
.github/workflows/docker_prod.yml
vendored
5
.github/workflows/docker_prod.yml
vendored
@@ -80,5 +80,6 @@ jobs:
|
|||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache
|
# # ⚠ disable cache if build is failing to download debian packages
|
||||||
cache-to: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache,mode=max
|
# cache-from: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache
|
||||||
|
# cache-to: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache,mode=max
|
||||||
|
|||||||
Reference in New Issue
Block a user