Skip to content

Commit

Permalink
figure out caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mollux committed Jan 7, 2024
1 parent 03efea0 commit 7b3eb13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ jobs:
with:
file: ${{ matrix.image_type }}/Dockerfile
context: .
cache-from: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.mautic_version }}-${{ matrix.image_type }}
platforms: linux/amd64,linux/arm64
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cache-${{ matrix.mautic_version }}-${{ matrix.image_type }}
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cache-${{ matrix.mautic_version }}-${{ matrix.image_type }},mode=max,image-manifest=true
# platforms: linux/amd64,linux/arm64
build-args: |
MAUTIC_VERSION=${{ matrix.mautic_version }}
push: true
Expand Down

0 comments on commit 7b3eb13

Please sign in to comment.