Skip to content

Commit

Permalink
Push Helm Chart
Browse files Browse the repository at this point in the history
  • Loading branch information
johanstokking committed Oct 6, 2023
1 parent f1056ac commit f05ec7c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/helm-chart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Helm Chart
on:
push:
tags:
- 'helm-chart/v*'

jobs:
push:
name: Push
runs-on: ubuntu-latest
steps:
- name: Set version tag
id: vars
run: echo "tag=${GITHUB_REF_NAME#helm-chart/v}" >> $GITHUB_OUTPUT
- name: Check out code
uses: actions/checkout@v3
- uses: azure/setup-helm@v3
with:
version: 'v3.13.0'
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Package Helm chart
run: helm package helm-chart --version ${{ steps.vars.outputs.tag }}
- name: Push Helm chart
run: helm push lorawan-join-server-${{ steps.vars.outputs.tag }}.tgz oci://thethingsindustries/lorawan-join-server

0 comments on commit f05ec7c

Please sign in to comment.