Skip to content

Commit 76abad4

Browse files
authored
v1.3.1 (#14)
Minor updates * Updating builds
1 parent ae7315b commit 76abad4

File tree

8 files changed

+88
-4
lines changed

8 files changed

+88
-4
lines changed

.github/workflows/dev-edge.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: dev-edge
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'main'
7+
tags-ignore:
8+
- '**'
9+
workflow_dispatch:
10+
11+
jobs:
12+
test-edge:
13+
runs-on: ubuntu-latest
14+
steps:
15+
-
16+
name: Checkout code
17+
uses: actions/checkout@v2
18+
build-edge:
19+
runs-on: ubuntu-latest
20+
steps:
21+
-
22+
name: Checkout code
23+
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
28+
-
29+
name: Read image version
30+
uses: bfren/read-file@v1
31+
with:
32+
file: ./VERSION
33+
id: version
34+
-
35+
name: Set up QEMU
36+
uses: docker/setup-qemu-action@v1
37+
-
38+
name: Set up Docker Buildx
39+
uses: docker/setup-buildx-action@v1
40+
-
41+
name: Login to DockerHub
42+
uses: docker/login-action@v1
43+
with:
44+
username: ${{ secrets.DOCKERHUB_USERNAME }}
45+
password: ${{ secrets.DOCKERHUB_TOKEN }}
46+
-
47+
name: Build and push
48+
id: docker_build
49+
uses: docker/build-push-action@v2
50+
with:
51+
context: .
52+
file: ./edge/Dockerfile
53+
build-args: |
54+
BF_IMAGE=${{ env.REPOSITORY_NAME }}
55+
BF_VERSION=${{ steps.version.outputs.contents }}
56+
push: ${{ startsWith(github.ref, 'refs/heads/') }}
57+
platforms: linux/amd64,linux/arm/v7,linux/arm64
58+
tags: |
59+
bfren/postgresql:edge
60+
bfren/postgresql:${{ steps.version.outputs.contents }}-edge
61+
-
62+
name: Image digest
63+
run: echo ${{ steps.docker_build.outputs.digest }}

12/POSTGRESQL_BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.9-r0
1+
12.9-r1

13/POSTGRESQL_BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
13.5-r0
1+
13.5-r1

14/POSTGRESQL_BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.1-r4
1+
14.1-r5

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.0
1+
1.3.1

edge/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM bfren/alpine-s6:alpine3.15-3.1.1
2+
3+
ARG BF_IMAGE
4+
ARG BF_VERSION
5+
6+
ENV \
7+
# set to "1" to compress backup sql files
8+
POSTGRESQL_BACKUP_COMPRESS_FILES="0" \
9+
# the number of days after which backups will be deleted
10+
POSTGRESQL_BACKUP_KEEP_FOR_DAYS="28"
11+
12+
EXPOSE 5432
13+
14+
COPY ./overlay /
15+
COPY ./14/POSTGRESQL_BUILD /tmp/VERSION
16+
17+
RUN bf-install
18+
19+
VOLUME [ "/data", "/backup" ]

edge/POSTGRESQL_BUILD

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

edge/POSTGRESQL_MINOR

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

0 commit comments

Comments
 (0)