Skip to content

Helm Repository - DEV #370

Helm Repository - DEV

Helm Repository - DEV #370

# Copyright (c) 2021,2022 Mercedes-Benz Tech Innovation GmbH
# Copyright (c) 2021,2022 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0
name: Helm Repository - DEV
on:
schedule:
- cron: "30 3 * * *"
workflow_dispatch:
jobs:
repoIndex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Rebuild Helm Repository
run: .github/bin/helmRepoIndex -owner ${{ github.repository_owner }} -token ${{ secrets.GITHUB_TOKEN }} -indexFile "dev/index.yaml"
- name: Publish changes
run: |
git config user.name github-actions
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add dev/index.yaml
git commit -m "chore: update dev helm repo index, workflow run: $GITHUB_RUN_NUMBER"
git push