.gitea/workflows/build-cloudnative-pg.yml aktualisiert

This commit is contained in:
Marko Oldenburg 2024-09-17 13:57:14 +02:00
parent 3dc2c7fe37
commit 5fd7705c9d

View File

@ -29,7 +29,7 @@ jobs:
- name: Set Docker Version
id: get_version
run: |
DOCKER_VERSION=$(grep -oP '(?<=^FROM postgres:).*' Dockerfile-cloudnative-pg)
DOCKER_VERSION=$(grep -oP '(?<=^FROM ghcr.io/cloudnative-pg/postgresql:).*' Dockerfile-cloudnative-pg)
echo "Docker version: $DOCKER_VERSION"
echo "::set-output name=tag::$DOCKER_VERSION"
@ -41,4 +41,4 @@ jobs:
platforms: |
linux/amd64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ steps.get_version.outputs.tag }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ steps.get_version.outputs.tag }}-cloudnative