From c76e71ebd2472ec4acc2dc5eaceac387c2f883a1 Mon Sep 17 00:00:00 2001 From: Ben Green Date: Mon, 15 Nov 2021 08:23:24 +0000 Subject: [PATCH 1/2] Bumping version to 1.2.8 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index a77d7d9..5975b14 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.7 \ No newline at end of file +1.2.8 \ No newline at end of file From 5eb308c614792066c4adc353e87768cd73fedb82 Mon Sep 17 00:00:00 2001 From: Ben Green Date: Mon, 15 Nov 2021 08:23:31 +0000 Subject: [PATCH 2/2] Adding major / minor versions to image tags --- .github/workflows/main-5_6.yml | 18 ++++++++++++++++++ VERSION_MAJOR | 1 + VERSION_MINOR | 1 + 3 files changed, 20 insertions(+) create mode 100644 VERSION_MAJOR create mode 100644 VERSION_MINOR diff --git a/.github/workflows/main-5_6.yml b/.github/workflows/main-5_6.yml index 4dad676..6a5b8fe 100644 --- a/.github/workflows/main-5_6.yml +++ b/.github/workflows/main-5_6.yml @@ -18,6 +18,18 @@ jobs: with: file: ./5.6/PHP_REVISION id: php_revision + - + name: Read image version + uses: bfren/read-file@v1 + with: + file: ./VERSION_MAJOR + id: version_major + - + name: Read image version + uses: bfren/read-file@v1 + with: + file: ./VERSION_MINOR + id: version_minor - name: Read image version uses: bfren/read-file@v1 @@ -47,10 +59,16 @@ jobs: platforms: linux/amd64,linux/arm/v7,linux/arm64 tags: | bfren/apache-php:latest + bfren/apache-php:${{ steps.version_major.outputs.contents }} + bfren/apache-php:${{ steps.version_minor.outputs.contents }} bfren/apache-php:${{ steps.version.outputs.contents }} bfren/apache-php:php5 + bfren/apache-php:php5-${{ steps.version_major.outputs.contents }} + bfren/apache-php:php5-${{ steps.version_minor.outputs.contents }} bfren/apache-php:php5-${{ steps.version.outputs.contents }} bfren/apache-php:php5.6 + bfren/apache-php:php5.6-${{ steps.version_major.outputs.contents }} + bfren/apache-php:php5.6-${{ steps.version_minor.outputs.contents }} bfren/apache-php:php5.6-${{ steps.version.outputs.contents }} bfren/apache-php:php${{ steps.php_revision.outputs.contents }} - diff --git a/VERSION_MAJOR b/VERSION_MAJOR new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/VERSION_MAJOR @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/VERSION_MINOR b/VERSION_MINOR new file mode 100644 index 0000000..ea710ab --- /dev/null +++ b/VERSION_MINOR @@ -0,0 +1 @@ +1.2 \ No newline at end of file