diff --git a/.github/workflows/publish_ghcr_image.yaml b/.github/workflows/publish_ghcr_image.yaml index 3cc9a01cc..8171d9aa2 100644 --- a/.github/workflows/publish_ghcr_image.yaml +++ b/.github/workflows/publish_ghcr_image.yaml @@ -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