Skip to content

Commit

Permalink
Syntaxe
Browse files Browse the repository at this point in the history
  • Loading branch information
llaumgui authored Sep 27, 2023
1 parent 4652cf8 commit edde457
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/devops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit edde457

Please sign in to comment.