From 527a11ea10ba9baf9324fedf841f598cd88b51e4 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Fri, 29 Nov 2024 12:43:04 +0000 Subject: [PATCH] =?UTF-8?q?.gitea/workflows/build-cloudnative-pg.yml=20gel?= =?UTF-8?q?=C3=B6scht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-cloudnative-pg.yml | 46 ----------------------- 1 file changed, 46 deletions(-) delete mode 100644 .gitea/workflows/build-cloudnative-pg.yml diff --git a/.gitea/workflows/build-cloudnative-pg.yml b/.gitea/workflows/build-cloudnative-pg.yml deleted file mode 100644 index 0ae8925..0000000 --- a/.gitea/workflows/build-cloudnative-pg.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Create postgresql docker image -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: - push: - branches: - - main - paths: - - '*Dockerfile-cloudnative-pg' - -jobs: - Explore-Gitea-Actions: - runs-on: ubuntu-latest - env: - REGISTRY: registry.tuxnet.lan - IMAGE: db/postgresql - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker BuildX - uses: docker/setup-buildx-action@v2 - with: # replace it with your local IP - config-inline: | - [registry."registry.tuxnet.lan"] - http = true - insecure = true - - - name: Set Docker Version - id: get_version - run: | - 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" - - - name: Build and push - uses: docker/build-push-action@v4 - with: - context: . - file: ./Dockerfile-postgresql - platforms: | - linux/amd64 - push: true - tags: ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ steps.get_version.outputs.tag }}-cloudnative \ No newline at end of file