From 07c8354b4004c676aa11b9960edd04ff0f0f151f Mon Sep 17 00:00:00 2001 From: Ben Green Date: Wed, 29 Sep 2021 09:41:50 +0100 Subject: [PATCH 1/2] Bumping version to 1.2.5 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index b966e81..3a1f10e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.4 \ No newline at end of file +1.2.5 \ No newline at end of file From 27456c3fa667551ae86c00f2d461b728fd7a1fe8 Mon Sep 17 00:00:00 2001 From: Ben Green Date: Wed, 29 Sep 2021 09:41:56 +0100 Subject: [PATCH 2/2] Using new read-file action --- .github/workflows/dev-5_6.yml | 6 +++--- .github/workflows/main-5_6.yml | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dev-5_6.yml b/.github/workflows/dev-5_6.yml index a50b8a8..daf1f58 100644 --- a/.github/workflows/dev-5_6.yml +++ b/.github/workflows/dev-5_6.yml @@ -23,9 +23,9 @@ jobs: uses: actions/checkout@v2 - name: Read image version - uses: bfren/read-file-action@v1 + uses: bfren/read-file@v1 with: - path: ./VERSION + file: ./VERSION id: version - name: Set up QEMU @@ -51,7 +51,7 @@ jobs: tags: | bfren/apache-php:dev bfren/apache-php:php5.6-dev - bfren/apache-php:${{ steps.version.outputs.content }}-beta + bfren/apache-php:${{ steps.version.outputs.contents }}-beta - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }} diff --git a/.github/workflows/main-5_6.yml b/.github/workflows/main-5_6.yml index 5d2c7a8..b185557 100644 --- a/.github/workflows/main-5_6.yml +++ b/.github/workflows/main-5_6.yml @@ -14,15 +14,15 @@ jobs: uses: actions/checkout@v2 - name: Read PHP version - revision - uses: bfren/read-file-action@v1 + uses: bfren/read-file@v1 with: path: ./5.6/PHP_REVISION id: php_revision - name: Read image version - uses: bfren/read-file-action@v1 + uses: bfren/read-file@v1 with: - path: ./VERSION + file: ./VERSION id: version - name: Set up QEMU @@ -47,12 +47,12 @@ jobs: platforms: linux/amd64,linux/arm/v7,linux/arm64 tags: | bfren/apache-php:latest - bfren/apache-php:${{ steps.version.outputs.content }} + bfren/apache-php:${{ steps.version.outputs.contents }} bfren/apache-php:php5 - bfren/apache-php:php5-${{ steps.version.outputs.content }} + bfren/apache-php:php5-${{ steps.version.outputs.contents }} bfren/apache-php:php5.6 - bfren/apache-php:php5.6-${{ steps.version.outputs.content }} - bfren/apache-php:php${{ steps.php_revision.outputs.content }} + bfren/apache-php:php5.6-${{ steps.version.outputs.contents }} + bfren/apache-php:php${{ steps.php_revision.outputs.contents }} - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }}