Use github actions cache for Docker builds.
This commit is contained in:
parent
de26a312f7
commit
a401703304
2
.github/workflows/binaries-build.yaml
vendored
2
.github/workflows/binaries-build.yaml
vendored
@ -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: |
|
||||
|
||||
10
.github/workflows/docker-build.yaml
vendored
10
.github/workflows/docker-build.yaml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user