From f8d96d0795ad952b91fdc4b54a9393df011f2e46 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Thu, 8 Feb 2024 22:30:11 +0900 Subject: [PATCH] Prepare universal workflow --- .github/workflows/images_build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/images_build.yml b/.github/workflows/images_build.yml index 3148a38ec..49f2315a9 100644 --- a/.github/workflows/images_build.yml +++ b/.github/workflows/images_build.yml @@ -239,6 +239,7 @@ jobs: 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=${{ fromJSON(steps.meta.outputs.json).tags[0] }} type=registry,ref=docker.io/${{ fromJSON(steps.meta.outputs.json).tags[0] }} cache-to: type=gha,mode=max,scope=${{ fromJSON(steps.meta.outputs.json).tags[0] }} @@ -367,11 +368,6 @@ jobs: flavor: | latest=${{ (needs.init_build.outputs.current_branch != 'trunk') && (matrix.os == 'alpine') && ( needs.init_build.outputs.is_default_branch == 'true' ) }} - - name: Download SHA256 tag build-base:${{ matrix.os }} - uses: actions/download-artifact@v4 - with: - name: build-base_${{ matrix.os }} - - name: Cache image digest id: cache-image-digest uses: actions/cache@v4