Skip to content

Commit 38089ba

Browse files
authored
v1.4.2 (#17)
Minor updates * Moving generate config to executable Build updates * Always run dev build Documentation updates * Adding status badges for PostreSQL 12, 13, and 14
1 parent b24a822 commit 38089ba

File tree

8 files changed

+22
-20
lines changed

8 files changed

+22
-20
lines changed

.github/workflows/dev-12.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: dev-12
22

33
on:
44
push:
5-
branches-ignore:
6-
- 'main'
7-
tags-ignore:
8-
- '**'
5+
branches: ['**']
6+
tags-ignore: ['**']
97
workflow_dispatch:
108

119
jobs:

.github/workflows/dev-13.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: dev-13
22

33
on:
44
push:
5-
branches-ignore:
6-
- 'main'
7-
tags-ignore:
8-
- '**'
5+
branches: ['**']
6+
tags-ignore: ['**']
97
workflow_dispatch:
108

119
jobs:

.github/workflows/dev-14.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: dev-14
22

33
on:
44
push:
5-
branches-ignore:
6-
- 'main'
7-
tags-ignore:
8-
- '**'
5+
branches: ['**']
6+
tags-ignore: ['**']
97
workflow_dispatch:
108

119
jobs:

.github/workflows/dev-edge.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: dev-edge
22

33
on:
44
push:
5-
branches-ignore:
6-
- 'main'
7-
tags-ignore:
8-
- '**'
5+
branches: ['**']
6+
tags-ignore: ['**']
97
workflow_dispatch:
108

119
jobs:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Docker PostgreSQL
22

33
![GitHub release (latest by date)](https://img.shields.io/github/v/release/bfren/docker-postgresql) ![Docker Pulls](https://img.shields.io/docker/pulls/bfren/postgresql?label=pulls) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/bfren/postgresql/latest?label=size)<br/>
4-
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bfren/docker-postgresql/dev-13?label=build)
4+
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bfren/docker-postgresql/dev-12?label=PostgreSQL+12) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bfren/docker-postgresql/dev-13?label=PostgreSQL+13) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bfren/docker-postgresql/dev-14?label=PostgreSQL+14)
55

66
[Docker Repository](https://hub.docker.com/r/bfren/postgresql) - [bfren ecosystem](https://github.com/bfren/docker)
77

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.1
1+
1.4.2

overlay/etc/cont-init.d/12-postgresql-init

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ start () {
1515
s6-setuidgid postgres initdb -D "${POSTGRESQL_DATA}"
1616

1717
# regenerate configuration
18-
bf-debug "Regenerating configuration files."
19-
s6-setuidgid postgres ${POSTGRESQL_LIB}/config
18+
db-regenerate-config
2019

2120
# start server
2221
bf-echo "Starting PostgreSQL for initialisation."
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/with-contenv sh
2+
3+
set -euo pipefail
4+
5+
6+
#======================================================================================================================
7+
# Run library config executable.
8+
#======================================================================================================================
9+
10+
bf-debug "Regenerating configuration files." "db-regenerate-config"
11+
s6-setuidgid postgres ${POSTGRESQL_LIB}/config

0 commit comments

Comments
 (0)