From 05a63b17a8329e7e77f4bc585ebc9059e7d639b3 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 21 Feb 2023 23:13:01 +0100 Subject: [PATCH 1/4] Upgrade to 9.6.3 --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 626a0d6..a3fb07d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,8 @@ # syntax=docker/dockerfile:1 FROM php:8.1-cli-alpine -ARG RELEASE_VERSION=9 +# https://phar.phpunit.de/ +ARG RELEASE_VERSION=9.6.3 # Metadata params ARG VCS_REF From 5cbf3aca370fc58f4a3f962c6591e772e5969f6c Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 21 Feb 2023 23:14:47 +0100 Subject: [PATCH 2/4] Remove useless space --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index a3fb07d..af63847 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,7 +7,7 @@ ARG RELEASE_VERSION=9.6.3 # Metadata params ARG VCS_REF ARG BUILD_DATE -ARG DIST_URL="https://phar.phpunit.de/phpunit-${RELEASE_VERSION}.phar " +ARG DIST_URL="https://phar.phpunit.de/phpunit-${RELEASE_VERSION}.phar" ADD $DIST_URL /usr/bin/phpunit RUN chmod +x /usr/bin/phpunit && phpunit --version From 8d419e57efca60ff208a6e060d8bd03fbb3068b9 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 21 Feb 2023 23:18:13 +0100 Subject: [PATCH 3/4] Fix docker hub tag --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d4b29c6..9433272 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,5 +30,5 @@ jobs: # See: https://github.com/docker/buildx/issues/59 ACTION: push DOCKER_BUILDKIT: 1 - IMAGE_TAG: docker.io/botsudo/phpunit + IMAGE_TAG: docker.io/botsudo/phpunit:9 PLATFORM: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x From fabd33dece8c9583f40cd755f5b2a1937efa7975 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 21 Feb 2023 23:29:46 +0100 Subject: [PATCH 4/4] Set version to 10 --- .github/workflows/publish.yml | 4 ++-- docker/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9433272..03a58eb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Publish Docker image on: push: tags: - - "9" + - "10" jobs: push_to_registry: @@ -30,5 +30,5 @@ jobs: # See: https://github.com/docker/buildx/issues/59 ACTION: push DOCKER_BUILDKIT: 1 - IMAGE_TAG: docker.io/botsudo/phpunit:9 + IMAGE_TAG: docker.io/botsudo/phpunit:10 PLATFORM: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x diff --git a/docker/Dockerfile b/docker/Dockerfile index 56699b2..d3807f7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,10 +4,10 @@ # PHPUnit 9 >= PHP 7.3 # PHPUnit 8 >= PHP 7.2 # PHPUnit 7 PHP 7.1 - PHP 7.3 -FROM php:8.1-cli-alpine +FROM php:8.2-cli-alpine # https://phar.phpunit.de/ -ARG RELEASE_VERSION=9.6.3 +ARG RELEASE_VERSION=10.0.11 # Metadata params ARG VCS_REF