feat(container): update ghcr.io/sergelogvinov/pgbouncer (16.4 → 16.6) #378
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: HelmChart Release | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "charts/**" | |
jobs: | |
release: | |
name: Publish release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
# Temporoary skip existing charts | |
with: | |
skip_existing: "true" | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Install Helm | |
uses: azure/setup-helm@v4 | |
with: | |
version: v3.16.1 | |
- name: Github registry login | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push HelmCharts to GHCR | |
run: | | |
for pkg in .cr-release-packages/*; do | |
if [ -z "${pkg:-}" ]; then | |
break | |
fi | |
helm push "${pkg}" oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts | |
done |