-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #276 from mollux/fix-composer-2.7.0-incompatibility
Ensure composer is allowed to run as root in the builder step
- Loading branch information
Showing
4 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Test build Docker image | ||
|
||
on: | ||
pull_request: | ||
schedule: | ||
# Run every day at 10:45 AM UTC to discover potential issues with dependencies like PHP updates etc. | ||
- cron: '45 10 * * *' | ||
|
||
jobs: | ||
build-image: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
image_type: [apache, fpm] | ||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
file: ${{ matrix.image_type }}/Dockerfile | ||
context: . | ||
tags: ${{ matrix.image_type }}-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters