chore(ci): bump radiorabe/actions from 0.22.4 to 0.24.0 (#521) #687
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: Release | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
tags: | |
- 'v*.*.*' | |
jobs: | |
release-container: | |
uses: radiorabe/actions/.github/workflows/[email protected] | |
with: | |
image: 'ghcr.io/radiorabe/catpage' | |
name: 'catpage' | |
display-name: 'Cat Page' | |
tags: 'minimal rhel9 rabe s2i python python311 catpage' | |
release-mkdocs: | |
uses: radiorabe/actions/.github/workflows/[email protected] | |
helm-chart: | |
runs-on: ubuntu-latest | |
if: startsWith(github.ref, 'refs/tags/v') | |
needs: | |
- release-container | |
permissions: | |
actions: none | |
checks: none | |
contents: none | |
deployments: none | |
issues: none | |
packages: write | |
pull-requests: none | |
repository-projects: none | |
security-events: none | |
statuses: none | |
id-token: none | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Prepare Chart Metadata | |
id: chartmeta | |
run: echo version=${GITHUB_REF#refs/tags/v} >> $GITHUB_OUTPUT | |
- name: Set up Helm | |
uses: azure/setup-helm@v4 | |
with: | |
version: v3.12.0 | |
- name: Package Chart | |
run: helm package --version ${{ steps.chartmeta.outputs.version }} --app-version ${{ steps.chartmeta.outputs.version }} --destination=dist charts/catpage | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push Chart | |
run: helm push dist/*.tgz oci://ghcr.io/radiorabe/helm |