Skip to content

feat(eck-exporter): release chart v1.10.0 (app 2.16.0) #279

feat(eck-exporter): release chart v1.10.0 (app 2.16.0)

feat(eck-exporter): release chart v1.10.0 (app 2.16.0) #279

Workflow file for this run

name: Release Charts
on:
workflow_dispatch:
repository_dispatch:
push:
branches:
- master
paths-ignore:
- '.github/**'
- 'README.md'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
# https://github.com/helm/helm/issues/8036
# https://github.com/helm/chart-releaser-action/issues/74
- name: Checkout repositories for dependencies
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
- name: Run CI script if present
run: |
for chart in charts/*; do
[ -e "$chart" ] || continue
if [ -f "$chart/ci.sh" ]; then
cd "$chart"
echo "Running custom CI script for $chart"
./ci.sh "${{ github.event.client_payload.ref }}" "${{ github.event.client_payload.notes }}" "${{ github.event.client_payload.contains_security_updates }}"
cd - > /dev/null
fi
done
- name: Run chart-releaser index.yaml
uses: helm/chart-releaser-action@v1.7.0
env:
CR_TOKEN: '${{ secrets.CR_TOKEN }}'
- name: Run chart-releaser OCI
uses: bitdeps/helm-oci-charts-releaser@v0.1.3
with:
oci_registry: quay.io/enix/charts
oci_username: ${{ secrets.QUAY_USERNAME }}
oci_password: ${{ secrets.QUAY_PASSWORD }}
github_token: ${{ secrets.GITHUB_TOKEN }}
skip_existing: false
skip_helm_install: true
skip_dependencies: true
skip_gh_release: true