From edde457affe2d1fa3d5b7526f09581736acdbea3 Mon Sep 17 00:00:00 2001 From: Guillaume Kulakowski Date: Wed, 27 Sep 2023 14:29:46 +0200 Subject: [PATCH] Syntaxe --- .github/workflows/devops.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/devops.yml b/.github/workflows/devops.yml index bf4e561..2d9a81a 100644 --- a/.github/workflows/devops.yml +++ b/.github/workflows/devops.yml @@ -77,9 +77,7 @@ jobs: tags: | ${{ env.IMAGE_NAME }}:${{ matrix.php-version }}-fpm labels: ${{ steps.meta.outputs.labels }} - cache-from: | - ref=${{ env.IMAGE_NAME }}:${{ matrix.php-version }}-fpm - type=registry + cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:${{ matrix.php-version }}-fpm cache-to: type=inline # Test with Trivy # https://github.com/aquasecurity/trivy-action @@ -154,9 +152,7 @@ jobs: ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.php-version }}-fpm ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:latest labels: ${{ steps.meta.outputs.labels }} - cache-from: | - ref=${{ env.IMAGE_NAME }}:${{ matrix.php-version }}-fpm - type=registry + cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:${{ matrix.php-version }}-fpm cache-to: type=inline - name: Build and push Docker image if: matrix.php-version != ${{ env.LATEST }}