From f6336fd141e6a66bf61995e2317c2677842072b1 Mon Sep 17 00:00:00 2001
From: Dwi Fahni Denni <dwi.fahni@bukalapak.com>
Date: Sun, 7 Jun 2020 13:55:21 +0700
Subject: [PATCH 1/3] Change tag to 12.3

---
 README.md             | 2 +-
 tests/docker_tests.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index a31cd32..35cd49a 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
 # PostgreSQL Container
 PostgreSQL Container of Docker Framework
 
-[![Build Status](https://travis-ci.org/dockerframework/postgresql.svg?branch=master)](https://travis-ci.org/dockerframework/postgresql) [![](https://images.microbadger.com/badges/image/dockerframework/postgresql:latest.svg)](https://microbadger.com/images/dockerframework/postgresql:latest "Layers") [![](https://images.microbadger.com/badges/version/dockerframework/postgresql:latest.svg)](https://microbadger.com/images/dockerframework/postgresql:latest "Version") [![GitHub issues](https://img.shields.io/github/issues/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/issues) [![GitHub forks](https://img.shields.io/github/forks/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/network) [![GitHub stars](https://img.shields.io/github/stars/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dockerframework/postgresql/master/LICENSE)
+[![Build Status](https://travis-ci.org/dockerframework/postgresql.svg?branch=master)](https://travis-ci.org/dockerframework/postgresql) [![](https://images.microbadger.com/badges/image/dockerframework/postgresql:12.3.svg)](https://microbadger.com/images/dockerframework/postgresql:12.3 "Layers") [![](https://images.microbadger.com/badges/version/dockerframework/postgresql:12.3.svg)](https://microbadger.com/images/dockerframework/postgresql:12.3 "Version") [![GitHub issues](https://img.shields.io/github/issues/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/issues) [![GitHub forks](https://img.shields.io/github/forks/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/network) [![GitHub stars](https://img.shields.io/github/stars/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dockerframework/postgresql/master/LICENSE)
diff --git a/tests/docker_tests.sh b/tests/docker_tests.sh
index 0698bbc..e9c62f9 100755
--- a/tests/docker_tests.sh
+++ b/tests/docker_tests.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 DOCKER_IMAGE="dockerframework/postgresql"
-DOCKER_TAG="latest"
+DOCKER_TAG="12.3"
 
 #### Halt script on error
 set -e

From c240afb5498987f490389a25589d64b1bf9ea171 Mon Sep 17 00:00:00 2001
From: dockerframework-engineer <zeroc0d3.team@gmail.com>
Date: Sun, 7 Jun 2020 14:19:19 +0700
Subject: [PATCH 2/3] Fixing travis CI/CD

---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 8dcb5f0..e68d536 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,7 @@ services:
 env:
   global:
     - COMMIT=${TRAVIS_COMMIT::8}
-    - REPO=dockerframework/postgresql
+    - REPO=dockerframework/postgresql:12.3
     - CGO_ENABLED=0
     - GOOS=linux
     - GOARCH=amd64

From e33db4b6a7532b1c01c3986e1d3cb2fd18ebdece Mon Sep 17 00:00:00 2001
From: zeroc0d3 <zeroc0d3.team@gmail.com>
Date: Sat, 9 Jan 2021 06:06:05 +0700
Subject: [PATCH 3/3] Update version to 12.5-debian

---
 .travis.yml           | 2 +-
 Dockerfile            | 2 +-
 README.md             | 2 +-
 docker-compose.yml    | 2 +-
 tests/docker_tests.sh | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e68d536..da8674c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,7 @@ services:
 env:
   global:
     - COMMIT=${TRAVIS_COMMIT::8}
-    - REPO=dockerframework/postgresql:12.3
+    - REPO=dockerframework/postgresql:12.5
     - CGO_ENABLED=0
     - GOOS=linux
     - GOARCH=amd64
diff --git a/Dockerfile b/Dockerfile
index 039f3e3..285ba6f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-ARG POSTGRES_VERSION=12.3
+ARG POSTGRES_VERSION=12.5
 FROM postgres:${POSTGRES_VERSION}
 
 # ================================================================================================
diff --git a/README.md b/README.md
index 35cd49a..7e77a0f 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
 # PostgreSQL Container
 PostgreSQL Container of Docker Framework
 
-[![Build Status](https://travis-ci.org/dockerframework/postgresql.svg?branch=master)](https://travis-ci.org/dockerframework/postgresql) [![](https://images.microbadger.com/badges/image/dockerframework/postgresql:12.3.svg)](https://microbadger.com/images/dockerframework/postgresql:12.3 "Layers") [![](https://images.microbadger.com/badges/version/dockerframework/postgresql:12.3.svg)](https://microbadger.com/images/dockerframework/postgresql:12.3 "Version") [![GitHub issues](https://img.shields.io/github/issues/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/issues) [![GitHub forks](https://img.shields.io/github/forks/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/network) [![GitHub stars](https://img.shields.io/github/stars/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dockerframework/postgresql/master/LICENSE)
+[![Build Status](https://travis-ci.org/dockerframework/postgresql.svg?branch=master)](https://travis-ci.org/dockerframework/postgresql) [![](https://images.microbadger.com/badges/image/dockerframework/postgresql:12.5.svg)](https://microbadger.com/images/dockerframework/postgresql:12.5 "Layers") [![](https://images.microbadger.com/badges/version/dockerframework/postgresql:12.5.svg)](https://microbadger.com/images/dockerframework/postgresql:12.5 "Version") [![GitHub issues](https://img.shields.io/github/issues/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/issues) [![GitHub forks](https://img.shields.io/github/forks/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/network) [![GitHub stars](https://img.shields.io/github/stars/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dockerframework/postgresql/master/LICENSE)
diff --git a/docker-compose.yml b/docker-compose.yml
index 82aecd6..9b512e9 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -15,7 +15,7 @@ services:
       - /etc/localtime:/etc/localtime:ro
       - ./data/postgresql:/var/lib/postgresql              # volume for data
     environment:
-      - POSTGRES_VERSION=12.3
+      - POSTGRES_VERSION=12.5
       - POSTGRES_ROOT_HOST=postgresql                      # grant user hostmask (optional)
       - POSTGRES_DATABASE=laradock_postgresql              # create database (optional)
       - POSTGRES_USER=laradock                             # grant user name (optional)
diff --git a/tests/docker_tests.sh b/tests/docker_tests.sh
index e9c62f9..3e82e5b 100755
--- a/tests/docker_tests.sh
+++ b/tests/docker_tests.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 DOCKER_IMAGE="dockerframework/postgresql"
-DOCKER_TAG="12.3"
+DOCKER_TAG="12.5"
 
 #### Halt script on error
 set -e
