diff --git a/Dockerfile b/Dockerfile index 44bc669..124a1a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y libzip-dev \ && docker-php-ext-install gettext zip \ && docker-php-ext-enable gettext zip -FROM composer:1.9.3 as staging +FROM composer:2.0.13 as staging RUN apk --no-cache add git diff --git a/README.md b/README.md index 8f3aed9..b330672 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: ComposerRequireChecker - uses: docker://webfactory/composer-require-checker:2.1.0 + uses: docker://webfactory/composer-require-checker:3.2.0 ``` This configuration will use the pre-built image at the Docker Hub. If you @@ -35,7 +35,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: ComposerRequireChecker -- uses: docker://webfactory/composer-require-checker:2.1.0 +- uses: docker://webfactory/composer-require-checker:3.2.0 + uses: webfactory/docker-composer-require-checker@0.1.0 ``` @@ -61,7 +61,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: ComposerRequireChecker - uses: docker://webfactory/composer-require-checker:2.0.0 + uses: docker://webfactory/composer-require-checker:3.2.0 + with: + args: --config-file=composer-require-checker.js ``` @@ -71,7 +71,7 @@ jobs: Apart from GitHub Actions, you can run the Docker image in any given directory: -`docker run --rm -it -v ${PWD}:/app webfactory/composer-require-checker:2.0.0` +`docker run --rm -it -v ${PWD}:/app webfactory/composer-require-checker:3.2.0` ## Credits, Copyright and License @@ -82,4 +82,4 @@ developer looking for new challenges, we'd like to hear from you! - - -Copyright 2019 – 2020 webfactory GmbH, Bonn. Code released under [the MIT license](LICENSE). +Copyright 2019 – 2021 webfactory GmbH, Bonn. Code released under [the MIT license](LICENSE).