Use cache to avoid needless rebuilds
This commit is contained in:
parent
fb235bdeec
commit
6ad0e85361
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -17,6 +17,7 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_TOKEN }}
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
always_pull: true
|
always_pull: true
|
||||||
|
cache_froms: btbn/ffmpeg-builder:base
|
||||||
repository: btbn/ffmpeg-builder
|
repository: btbn/ffmpeg-builder
|
||||||
tags: base
|
tags: base
|
||||||
path: base
|
path: base
|
||||||
|
@ -38,6 +39,7 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_TOKEN }}
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
always_pull: true
|
always_pull: true
|
||||||
|
cache_froms: btbn/ffmpeg-builder:base-${{ matrix.target }}
|
||||||
repository: btbn/ffmpeg-builder
|
repository: btbn/ffmpeg-builder
|
||||||
tags: base-${{ matrix.target }}
|
tags: base-${{ matrix.target }}
|
||||||
path: base-${{ matrix.target }}
|
path: base-${{ matrix.target }}
|
||||||
|
@ -62,5 +64,6 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_TOKEN }}
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
always_pull: true
|
always_pull: true
|
||||||
|
cache_froms: btbn/ffmpeg-builder:${{ matrix.target }}-${{ matrix.variant }}
|
||||||
repository: btbn/ffmpeg-builder
|
repository: btbn/ffmpeg-builder
|
||||||
tags: ${{ matrix.target }}-${{ matrix.variant }}
|
tags: ${{ matrix.target }}-${{ matrix.variant }}
|
||||||
|
|
Loading…
Reference in a new issue