File tree Expand file tree Collapse file tree 14 files changed +82
-10
lines changed
Expand file tree Collapse file tree 14 files changed +82
-10
lines changed Original file line number Diff line number Diff line change 2121 -
2222 name : Checkout code
2323 uses : actions/checkout@v2
24+ -
25+ name : Get repository name
26+ run : echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
27+ shell : bash
2428 -
2529 name : Read image version
2630 uses : bfren/read-file@v1
4650 with :
4751 context : .
4852 file : ./12/Dockerfile
53+ build-args : |
54+ BF_IMAGE=${{ env.REPOSITORY_NAME }}
55+ BF_VERSION=${{ steps.version.outputs.contents }}
4956 push : ${{ startsWith(github.ref, 'refs/heads/') }}
5057 platforms : linux/amd64,linux/arm/v7,linux/arm64
5158 tags : |
Original file line number Diff line number Diff line change 2121 -
2222 name : Checkout code
2323 uses : actions/checkout@v2
24+ -
25+ name : Get repository name
26+ run : echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
27+ shell : bash
2428 -
2529 name : Read image version
2630 uses : bfren/read-file@v1
4650 with :
4751 context : .
4852 file : ./13/Dockerfile
53+ build-args : |
54+ BF_IMAGE=${{ env.REPOSITORY_NAME }}
55+ BF_VERSION=${{ steps.version.outputs.contents }}
4956 push : ${{ startsWith(github.ref, 'refs/heads/') }}
5057 platforms : linux/amd64,linux/arm/v7,linux/arm64
5158 tags : |
Original file line number Diff line number Diff line change 2121 -
2222 name : Checkout code
2323 uses : actions/checkout@v2
24+ -
25+ name : Get repository name
26+ run : echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
27+ shell : bash
2428 -
2529 name : Read image version
2630 uses : bfren/read-file@v1
4650 with :
4751 context : .
4852 file : ./14/Dockerfile
53+ build-args : |
54+ BF_IMAGE=${{ env.REPOSITORY_NAME }}
55+ BF_VERSION=${{ steps.version.outputs.contents }}
4956 push : ${{ startsWith(github.ref, 'refs/heads/') }}
5057 platforms : linux/amd64,linux/arm/v7,linux/arm64
5158 tags : |
Original file line number Diff line number Diff line change 1212 -
1313 name : Checkout code
1414 uses : actions/checkout@v2
15+ -
16+ name : Get repository name
17+ run : echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
18+ shell : bash
1519 -
1620 name : Read PostgreSQL version - minor
1721 uses : bfren/read-file@v1
6165 with :
6266 context : .
6367 file : ./12/Dockerfile
68+ build-args : |
69+ BF_IMAGE=${{ env.REPOSITORY_NAME }}
70+ BF_VERSION=${{ steps.version.outputs.contents }}
6471 push : true
6572 platforms : linux/amd64,linux/arm/v7,linux/arm64
6673 tags : |
Original file line number Diff line number Diff line change 1212 -
1313 name : Checkout code
1414 uses : actions/checkout@v2
15+ -
16+ name : Get repository name
17+ run : echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
18+ shell : bash
1519 -
1620 name : Read PostgreSQL version - minor
1721 uses : bfren/read-file@v1
6165 with :
6266 context : .
6367 file : ./13/Dockerfile
68+ build-args : |
69+ BF_IMAGE=${{ env.REPOSITORY_NAME }}
70+ BF_VERSION=${{ steps.version.outputs.contents }}
6471 push : true
6572 platforms : linux/amd64,linux/arm/v7,linux/arm64
6673 tags : |
Original file line number Diff line number Diff line change 1212 -
1313 name : Checkout code
1414 uses : actions/checkout@v2
15+ -
16+ name : Get repository name
17+ run : echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
18+ shell : bash
1519 -
1620 name : Read PostgreSQL version - minor
1721 uses : bfren/read-file@v1
6165 with :
6266 context : .
6367 file : ./14/Dockerfile
68+ build-args : |
69+ BF_IMAGE=${{ env.REPOSITORY_NAME }}
70+ BF_VERSION=${{ steps.version.outputs.contents }}
6471 push : true
6572 platforms : linux/amd64,linux/arm/v7,linux/arm64
6673 tags : |
Original file line number Diff line number Diff line change 1- FROM bfren/alpine-s6:alpine3.15-3.0.2
1+ FROM bfren/alpine-s6:alpine3.15-3.1.1
2+
3+ ARG BF_IMAGE
4+ ARG BF_VERSION
25
36ENV \
47 # set to "1" to compress backup sql files
Original file line number Diff line number Diff line change 1- FROM bfren/alpine-s6:alpine3.15-3.0.2
1+ FROM bfren/alpine-s6:alpine3.15-3.1.1
2+
3+ ARG BF_IMAGE
4+ ARG BF_VERSION
25
36ENV \
47 # set to "1" to compress backup sql files
Original file line number Diff line number Diff line change 1- FROM bfren/alpine-s6:alpine3.15-3.0.2
1+ FROM bfren/alpine-s6:alpine3.15-3.1.1
2+
3+ ARG BF_IMAGE
4+ ARG BF_VERSION
25
36ENV \
47 # set to "1" to compress backup sql files
Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ See [For Backups](#for-backups) for configuration variables.
4848
4949### For Database
5050
51- | Variable | Values | Description | Default |
52- | ----------------------- | ------ | ------------ ----------------------------------------------------------------------------------------- | ----------------- |
53- | ` POSTGRESQL_USERNAME ` | string | Application username - will be used as database name if ` POSTGRESQL_DATABASE ` is not set. | * None* - required |
54- | ` POSTGRESQL_PASSWORD ` | string | Application password. | * None* - required |
55- | ` POSTGRESQL_DATABASE ` | string | Database name(s) - multiple databases can be separated by a comma. | * None* |
51+ | Variable | Values | Description | Default |
52+ | --------------------- | ------ | ----------------------------------------------------------------------------------------- | ----------------- |
53+ | ` POSTGRESQL_USERNAME ` | string | Application username - will be used as database name if ` POSTGRESQL_DATABASE ` is not set. | * None* - required |
54+ | ` POSTGRESQL_PASSWORD ` | string | Application password. | * None* - required |
55+ | ` POSTGRESQL_DATABASE ` | string | Database name(s) - multiple databases can be separated by a comma. | * None* |
5656
5757## Helper Functions
5858
You can’t perform that action at this time.
0 commit comments