From 6ad0e8536173a831a3a1806ab8d5690cd4ba92a6 Mon Sep 17 00:00:00 2001 From: BtbN Date: Thu, 3 Sep 2020 14:48:32 +0200 Subject: [PATCH] Use cache to avoid needless rebuilds --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d22412..0460360 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,7 @@ jobs: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_TOKEN }} always_pull: true + cache_froms: btbn/ffmpeg-builder:base repository: btbn/ffmpeg-builder tags: base path: base @@ -38,6 +39,7 @@ jobs: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_TOKEN }} always_pull: true + cache_froms: btbn/ffmpeg-builder:base-${{ matrix.target }} repository: btbn/ffmpeg-builder tags: base-${{ matrix.target }} path: base-${{ matrix.target }} @@ -62,5 +64,6 @@ jobs: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_TOKEN }} always_pull: true + cache_froms: btbn/ffmpeg-builder:${{ matrix.target }}-${{ matrix.variant }} repository: btbn/ffmpeg-builder tags: ${{ matrix.target }}-${{ matrix.variant }}