From 07ad97786f94cad0937a2db0929ca80f13f449d0 Mon Sep 17 00:00:00 2001 From: Sebastiaan Zeeff <33516116+SebastiaanZ@users.noreply.github.com> Date: Fri, 20 Nov 2020 16:53:00 +0100 Subject: Add inline cache manifest to docker image We need to attach an inline cache manifest to the image we build and push to the GHCR to be able to use the registry as a cache source for subsequent builds. I've added it to the build workflow configuration.configuration. --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 404e66f7..f133ba24 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -45,6 +45,7 @@ jobs: file: ./Dockerfile push: true cache-from: type=registry,ref=ghcr.io/python-discord/seasonalbot:latest + cache-to: type=inline tags: | ghcr.io/python-discord/seasonalbot:latest ghcr.io/python-discord/seasonalbot:${{ steps.sha_tag.outputs.tag }} -- cgit v1.2.3