From 7e2f6fd68eb474500a3e9aa30d19147a1febf843 Mon Sep 17 00:00:00 2001 From: Pavan <25031267+Pavan-SAP@users.noreply.github.com> Date: Fri, 22 Sep 2023 13:59:51 +0200 Subject: [PATCH] Update and rename publish-docker to publish-docker.yaml --- .github/workflows/{publish-docker => publish-docker.yaml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{publish-docker => publish-docker.yaml} (92%) diff --git a/.github/workflows/publish-docker b/.github/workflows/publish-docker.yaml similarity index 92% rename from .github/workflows/publish-docker rename to .github/workflows/publish-docker.yaml index 2fd1a3f..393c8ae 100644 --- a/.github/workflows/publish-docker +++ b/.github/workflows/publish-docker.yaml @@ -60,12 +60,12 @@ jobs: platforms: linux/amd64,linux/arm64 context: . cache-from: | - type=gha,scope=sha-${{ github.sha }} + type=gha,scope=${{ matrix.workload }}-sha-${{ github.sha }} type=gha,scope=${{ github.ref_name }}-${{ matrix.workload }} type=gha,scope=${{ github.base_ref || 'main' }} type=gha,scope=main cache-to: | - type=gha,scope=sha-${{ github.sha }},mode=max + type=gha,scope=${{ matrix.workload }}-sha-${{ github.sha }},mode=max type=gha,scope=${{ github.ref_name }}-${{ matrix.workload }},mode=max push: true tags: ${{ steps.extract-metadata.outputs.tags }}