.gitea/workflows/build-cloudnative-pg.yml aktualisiert
This commit is contained in:
parent
3dc2c7fe37
commit
5fd7705c9d
@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Set Docker Version
|
- name: Set Docker Version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
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 "Docker version: $DOCKER_VERSION"
|
||||||
echo "::set-output name=tag::$DOCKER_VERSION"
|
echo "::set-output name=tag::$DOCKER_VERSION"
|
||||||
|
|
||||||
@ -41,4 +41,4 @@ jobs:
|
|||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ steps.get_version.outputs.tag }}
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ steps.get_version.outputs.tag }}-cloudnative
|
Loading…
Reference in New Issue
Block a user