Skip to content

Commit

Permalink
v2.2.0 (#31)
Browse files Browse the repository at this point in the history
Major updates
* Using latest base image

Build updates
* Adding image name / version to builds
  • Loading branch information
bfren authored Dec 3, 2021
1 parent e6c4a99 commit 948a3f9
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
-
name: Checkout code
uses: actions/checkout@v2
-
name: Get repository name
run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
shell: bash
-
name: Read image version
uses: bfren/read-file@v1
Expand All @@ -44,6 +48,9 @@ jobs:
id: docker_build
uses: docker/build-push-action@v2
with:
build-args: |
BF_IMAGE=${{ env.REPOSITORY_NAME }}
BF_VERSION=${{ steps.version.outputs.contents }}
push: ${{ startsWith(github.ref, 'refs/heads/') }}
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
-
name: Checkout code
uses: actions/checkout@v2
-
name: Get repository name
run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
shell: bash
-
name: Read FreeScout version - major
uses: bfren/read-file@v1
Expand Down Expand Up @@ -65,6 +69,9 @@ jobs:
id: docker_build
uses: docker/build-push-action@v2
with:
build-args: |
BF_IMAGE=${{ env.REPOSITORY_NAME }}
BF_VERSION=${{ steps.version.outputs.contents }}
push: true
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM bfren/nginx-php:php7.4-3.1.0
FROM bfren/nginx-php:php7.4-3.2.0

ARG BF_IMAGE
ARG BF_VERSION

ENV \
# set to the application's external URL
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.1
2.2.0
2 changes: 1 addition & 1 deletion VERSION_MINOR
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1
2.2

0 comments on commit 948a3f9

Please sign in to comment.