Skip to content

Commit 736ee24

Browse files
authored
v1.2.8 (#19)
Build updates * Adding major / minor versions to image tags
1 parent 826a565 commit 736ee24

4 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/main-5_6.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ jobs:
1818
with:
1919
file: ./5.6/PHP_REVISION
2020
id: php_revision
21+
-
22+
name: Read image version
23+
uses: bfren/read-file@v1
24+
with:
25+
file: ./VERSION_MAJOR
26+
id: version_major
27+
-
28+
name: Read image version
29+
uses: bfren/read-file@v1
30+
with:
31+
file: ./VERSION_MINOR
32+
id: version_minor
2133
-
2234
name: Read image version
2335
uses: bfren/read-file@v1
@@ -47,10 +59,16 @@ jobs:
4759
platforms: linux/amd64,linux/arm/v7,linux/arm64
4860
tags: |
4961
bfren/apache-php:latest
62+
bfren/apache-php:${{ steps.version_major.outputs.contents }}
63+
bfren/apache-php:${{ steps.version_minor.outputs.contents }}
5064
bfren/apache-php:${{ steps.version.outputs.contents }}
5165
bfren/apache-php:php5
66+
bfren/apache-php:php5-${{ steps.version_major.outputs.contents }}
67+
bfren/apache-php:php5-${{ steps.version_minor.outputs.contents }}
5268
bfren/apache-php:php5-${{ steps.version.outputs.contents }}
5369
bfren/apache-php:php5.6
70+
bfren/apache-php:php5.6-${{ steps.version_major.outputs.contents }}
71+
bfren/apache-php:php5.6-${{ steps.version_minor.outputs.contents }}
5472
bfren/apache-php:php5.6-${{ steps.version.outputs.contents }}
5573
bfren/apache-php:php${{ steps.php_revision.outputs.contents }}
5674
-

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.7
1+
1.2.8

VERSION_MAJOR

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

VERSION_MINOR

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.2

0 commit comments

Comments
 (0)