From 5cab18b18bbdafd4dd78034a129a17e9ce189ea8 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Thu, 29 Apr 2021 18:25:55 +0000 Subject: [PATCH] Default Docker image builds to v3.2.0, the most recent release, instead of master --- Dockerfile | 2 +- README.md | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 124a1a5..30f3ba7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ FROM composer:2.0.13 as staging RUN apk --no-cache add git WORKDIR /composer-require-checker -ARG revision=master +ARG revision=3.2.0 ENV COMPOSER_REQUIRE_CHECKER_VERSION=${revision} RUN git clone https://github.com/maglnet/ComposerRequireChecker.git /composer-require-checker RUN git checkout $revision \ diff --git a/README.md b/README.md index b330672..69d080d 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,8 @@ jobs: When referring to this repo, use a tag or commit hash for the Dockerfile. *Note:* This will build the Docker image every time your workflow is run. -The build will use the `master` branch of `ComposerRequireChecker`, not a -stable release. If you know how the `revision` build-arg can be passed to -Docker when running inside a GitHub action (so that you could specify the -right version yourself), please open a PR. +The build will currently use the `3.2.0` release tag of `ComposerRequireChecker`, +which is the latest version as of writing. In either case, to pass a custom config file, add this: