use pbgouncer as image name and push to ghcr on next merge

This commit is contained in:
Felix Kunde 2026-04-24 08:07:25 +02:00
parent 56b611b497
commit 09e1cad48e
1 changed files with 3 additions and 2 deletions

View File

@ -3,11 +3,12 @@ name: Publish multiarch postgres-operator images on ghcr.io
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME_POOLER: ${{ github.repository }}-pooler
IMAGE_NAME_UI: ${{ github.repository }}-ui
on:
push:
branches:
- master
tags:
- '*'
@ -38,7 +39,7 @@ jobs:
- name: Define pooler image name
id: image_pooler
run: |
POOLER_IMAGE="${{ env.REGISTRY }}/${{ env.IMAGE_NAME_POOLER }}:${GITHUB_REF/refs\/tags\//}"
POOLER_IMAGE="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/pgbouncer:${GITHUB_REF/refs\/tags\//}"
echo "POOLER_IMAGE=$POOLER_IMAGE" >> $GITHUB_OUTPUT
- name: Define UI image name