From a02f1c7534c44595cfbf77812eab18a17922a119 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Sun, 11 Feb 2024 17:34:54 +0900 Subject: [PATCH] Prepare universal workflow --- .github/workflows/images_build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/images_build.yml b/.github/workflows/images_build.yml index 98b0370a8..bfd07fe63 100644 --- a/.github/workflows/images_build.yml +++ b/.github/workflows/images_build.yml @@ -543,6 +543,9 @@ jobs: labels: | org.opencontainers.image.revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }} + cache-from: | + type=gha,scope=${{ steps.base_build.outputs.base_build_image }} }} + type=registry,ref=${{ steps.base_build.outputs.base_build_image }} }} cache-to: type=gha,mode=max,scope=${{ fromJSON(steps.meta.outputs.json).tags[0] }} - name: Sign the images with GitHub OIDC Token