Use github actions cache for Docker builds.

This commit is contained in:
vexorian 2023-11-10 23:13:12 -04:00
parent de26a312f7
commit a401703304
2 changed files with 4 additions and 8 deletions

View File

@ -31,6 +31,8 @@ jobs:
file: Dockerfile-builder
load: true
tags: builder
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run dist docker
run: |

View File

@ -39,11 +39,5 @@ jobs:
context: .
push: true
tags: vexorian/dizquetv:${{ inputs.tag }}${{ matrix.suffix }}
- name: Build and push nvidia
uses: docker/build-push-action@v2
with:
context: .
file: ${{ matrix.Dockerfile }}
push: true
tags: vexorian/dizquetv:${{ inputs.tag }}${{ matrix.suffix }}
cache-from: type=gha
cache-to: type=gha,mode=max