Rebuild postgres images

This commit is contained in:
Daniel Berteaud 2024-01-23 11:47:43 +01:00
parent 23d1eb54ad
commit 1ea23db9ab
3 changed files with 16 additions and 16 deletions

View File

@ -93,13 +93,13 @@ job "base_images" {
task "postgres15" {
driver = "docker"
config {
image = "danielberteaud/postgres:15.24.1-3"
image = "danielberteaud/postgres:15.24.1-4"
}
}
task "postgres16" {
driver = "docker"
config {
image = "danielberteaud/postgres:16.24.1-3"
image = "danielberteaud/postgres:16.24.1-4"
}
}
task "sqlite" {

View File

@ -139,27 +139,27 @@ if ! docker manifest inspect danielberteaud/php:83.24.1-4 > /dev/null 2>&1; then
else
echo "Image danielberteaud/php:83.24.1-4 already available"
fi
if ! docker manifest inspect danielberteaud/postgres:15.24.1-3 > /dev/null 2>&1; then
echo "Building postgres:15.24.1-3"
if ! docker manifest inspect danielberteaud/postgres:15.24.1-4 > /dev/null 2>&1; then
echo "Building postgres:15.24.1-4"
export BUILDKIT_PROGRESS=plain
docker build -t danielberteaud/postgres:15.24.1-3 -t danielberteaud/postgres15:latest -t danielberteaud/postgres:15 --build-arg=PG_VERSION=15 output/images/postgres &&\
docker push danielberteaud/postgres:15.24.1-3 &&\
docker build -t danielberteaud/postgres:15.24.1-4 -t danielberteaud/postgres15:latest -t danielberteaud/postgres:15 --build-arg=PG_VERSION=15 output/images/postgres &&\
docker push danielberteaud/postgres:15.24.1-4 &&\
docker push danielberteaud/postgres15:latest &&\
docker push danielberteaud/postgres:15 &&\
echo "danielberteaud/postgres:15.24.1-3 pushed to remote repo"
echo "danielberteaud/postgres:15.24.1-4 pushed to remote repo"
else
echo "Image danielberteaud/postgres:15.24.1-3 already available"
echo "Image danielberteaud/postgres:15.24.1-4 already available"
fi
if ! docker manifest inspect danielberteaud/postgres:16.24.1-3 > /dev/null 2>&1; then
echo "Building postgres:16.24.1-3"
if ! docker manifest inspect danielberteaud/postgres:16.24.1-4 > /dev/null 2>&1; then
echo "Building postgres:16.24.1-4"
export BUILDKIT_PROGRESS=plain
docker build -t danielberteaud/postgres:16.24.1-3 -t danielberteaud/postgres16:latest -t danielberteaud/postgres:16 --build-arg=PG_VERSION=16 output/images/postgres &&\
docker push danielberteaud/postgres:16.24.1-3 &&\
docker build -t danielberteaud/postgres:16.24.1-4 -t danielberteaud/postgres16:latest -t danielberteaud/postgres:16 --build-arg=PG_VERSION=16 output/images/postgres &&\
docker push danielberteaud/postgres:16.24.1-4 &&\
docker push danielberteaud/postgres16:latest &&\
docker push danielberteaud/postgres:16 &&\
echo "danielberteaud/postgres:16.24.1-3 pushed to remote repo"
echo "danielberteaud/postgres:16.24.1-4 pushed to remote repo"
else
echo "Image danielberteaud/postgres:16.24.1-3 already available"
echo "Image danielberteaud/postgres:16.24.1-4 already available"
fi
if ! docker manifest inspect danielberteaud/sqlite:24.1-2 > /dev/null 2>&1; then
echo "Building sqlite:24.1-2"

View File

@ -210,7 +210,7 @@ docker:
# Postgres
postgres15:
image: postgres:15.24.1-3
image: postgres:15.24.1-4
build_args:
PG_VERSION: 15
tags:
@ -218,7 +218,7 @@ docker:
- postgres:15
postgres16:
image: postgres:16.24.1-3
image: postgres:16.24.1-4
build_args:
PG_VERSION: 16
tags: