Skip to content

Commit

Permalink
Add Helm chart for postgresql-cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
drmalex07 committed Apr 8, 2024
1 parent a2e8c40 commit 8051fdf
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/docker-build-pgpool.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI - pgpool
run-name: Build container image for PgPool


on:
push:
#paths:
#- 'postgresql-cluster'
branches:
- 'pgpool'
tags:
- '0.*'
- '1.*'

permissions:
actions: read
checks: read
contents: read
packages: write
repository-projects: read
statuses: read

jobs:

build_image:
runs-on: ubuntu-22.04
env:
pgpool_version: "4.4"
steps:
- uses: actions/checkout@v3
- run: |-
git submodule init postgresql-cluster
git submodule update postgresql-cluster
- run: ls -hal postgresql-cluster
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v4
id: meta
with:
images: |
ghcr.io/eosc-lot-1/pgpool
- uses: docker/setup-buildx-action@v3
with:
driver: docker
- uses: docker/build-push-action@v5
with:
context: ./postgresql-cluster/pgpool/redhat/
file: postgresql-cluster/pgpool/redhat/Dockerfile
#buildArgs: |-
push: true
tags: |
ghcr.io/eosc-lot-1/pgpool:${{ env.pgpool_version }}-redhat
labels: ${{ steps.meta.outputs.labels }}

3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "postgresql-cluster"]
path = postgresql-cluster
url = https://github.com/OpertusMundi/postgresql-cluster.helm
1 change: 1 addition & 0 deletions postgresql-cluster
Submodule postgresql-cluster added at ca8930

0 comments on commit 8051fdf

Please sign in to comment.