Skip to content

Commit

Permalink
chore: add Helm chart release CD
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed May 24, 2024
1 parent c82bbbb commit 70c4a77
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release-chart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
tags:
- helm/*

permissions:
packages: write

jobs:
release_chart:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Get version
id: get_version
run: echo "::set-output name=version::${GITHUB_REF_NAME#helm/}"
- name: Push chart to GitHub Container Registry
uses: appany/[email protected]
with:
name: publiccode-crawler
repository: ${{ github.repository }}/charts
tag: ${{ steps.get_version.outputs.version }}
registry: ghcr.io
registry_username: ${{ github.actor }}
registry_password: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 70c4a77

Please sign in to comment.