Skip to content

Commit

Permalink
Merge branch 'main' into fix/require-ext-intl-php-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss authored Oct 25, 2024
2 parents e49ff79 + 487b749 commit 0603087
Show file tree
Hide file tree
Showing 49 changed files with 899 additions and 421 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ jobs:

strategy:
fail-fast: false
matrix:
flavor:
- name: apache
file: scripts/docker/Dockerfile
tag: main
suffix:
- name: fpm
file: scripts/docker/Dockerfile-fpm
tag: main-fpm
suffix: -fpm

permissions:
contents: read
Expand Down Expand Up @@ -54,6 +64,9 @@ jobs:
org.opencontainers.image.description="This is MonicaHQ, your personal memory! MonicaHQ is like a CRM but for the friends, family, and acquaintances around you."
org.opencontainers.image.title="MonicaHQ, the Personal Relationship Manager"
org.opencontainers.image.vendor="Monica"
flavor: |
latest=${{ matrix.flavor.tag == 'main' && 'auto' || 'false' }}
suffix=${{ matrix.flavor.suffix }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -76,9 +89,9 @@ jobs:
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
cache-from: type=registry,ref=${{ env.registry }}/${{ github.repository_owner }}/${{ env.package-name }}:main
cache-from: type=registry,ref=${{ env.registry }}/${{ github.repository_owner }}/${{ env.package-name }}:${{ matrix.flavor.tag }}
labels: ${{ steps.docker_meta.outputs.labels }}
file: scripts/docker/Dockerfile
file: ${{ matrix.flavor.file }}
context: .
platforms: ${{ (github.event_name != 'pull_request') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=This is MonicaHQ your personal memory! MonicaHQ is like a CRM but for the friends family and acquaintances around you.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"barryvdh/laravel-ide-helper": "^3.0",
"brianium/paratest": "^7.0",
"fakerphp/faker": "^1.9",
"larastan/larastan": "^2.7",
"larastan/larastan": "2.9.8",
"laravel-lang/common": "^6.0",
"laravel/pint": "^1.1",
"laravel/sail": "^1.14",
Expand Down
Loading

0 comments on commit 0603087

Please sign in to comment.