ad pooler build step in delivery.yaml and bump pooler version

This commit is contained in:
Felix Kunde 2026-04-17 11:22:51 +02:00
parent 943da73c9e
commit 34c20b4cec
2 changed files with 29 additions and 1 deletions

View File

@ -42,6 +42,34 @@ pipeline:
-f docker/Dockerfile \
--push .
- id: build-pooler
env:
<<: *BUILD_ENV
type: script
vm_config:
type: linux
commands:
- desc: Build image
cmd: |
cd pooler
if [ -z ${CDP_SOURCE_BRANCH} ]; then
IMAGE=${MULTI_ARCH_REGISTRY}/postgres-operator-pooler
else
IMAGE=${MULTI_ARCH_REGISTRY}/postgres-operator-pooler-test
fi
docker buildx create --config /etc/cdp-buildkitd.toml --driver-opt network=host --bootstrap --use
docker buildx build --platform "linux/amd64,linux/arm64" \
--build-arg BASE_IMAGE="${ALPINE_BASE_IMAGE}" \
-t "${IMAGE}:${CDP_BUILD_VERSION}" \
-f docker/Dockerfile \
--push .
if [ -z ${CDP_SOURCE_BRANCH} ]; then
cdp-promote-image ${IMAGE}:${CDP_BUILD_VERSION}
fi
- id: build-operator-ui
env:
<<: *BUILD_ENV

View File

@ -7,7 +7,7 @@ RUN apk --update add \
RUN git clone \
--single-branch \
--branch=stable-1.23 \
--branch=stable-1.25 \
--depth 1 \
https://github.com/pgbouncer/pgbouncer.git src