-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a note how the
Dockerfile
can be used directly
- Loading branch information
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -20,7 +20,30 @@ jobs: | |
uses: docker://webfactory/composer-require-checker:2.0.0 | ||
``` | ||
To pass a custom config file, add this: | ||
This configuration will use the pre-built image at the Docker Hub. If you | ||
feel more secure with building the Docker Image ad-hoc from the `Dockerfile` | ||
in this repo, use the following syntax instead. | ||
|
||
```diff | ||
# .github/workflows/check.yml | ||
on: [push] | ||
name: Main | ||
jobs: | ||
composer-require-checker: | ||
name: ComposerRequireChecker | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: ComposerRequireChecker | ||
- uses: docker://webfactory/composer-require-checker:2.0.0 | ||
+ uses: webfactory/[email protected] | ||
``` | ||
|
||
*Note:* When using the Docker image, the tag refers to the Docker image tag. | ||
When referring to this repo, use a tag or commit hash for the Dockerfile. | ||
|
||
In either case, to pass a custom config file, add this: | ||
|
||
```diff | ||
# .github/workflows/check.yml | ||
on: [push] | ||
|