Skip to content

Merge pull request #79 from homeylab/exportarr-1.1.7 #96

Merge pull request #79 from homeylab/exportarr-1.1.7

Merge pull request #79 from homeylab/exportarr-1.1.7 #96

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
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 "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: true # https://github.com/helm/chart-releaser-action/issues/97
oci:
runs-on: ubuntu-latest
environment: 'dockerhub'
steps:
- name: Install Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.14.2 # default is latest (stable)
# id: install
- name: Helm Registry Login
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | helm registry login registry-1.docker.io --password-stdin -u ${{ secrets.DOCKERHUB_USERNAME }}
- name: Checkout
uses: actions/checkout@v4
- name: Helm Package Charts
run: for x in $(ls charts); do make pkg_with_dep app=${x}; done
- name: Helm Push Charts
run: for x in $(ls *.tgz); do make oci_push file=${x}; done