-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1056ac
commit f05ec7c
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
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 |