Skip to content

Prepare for next development iteration #754

Prepare for next development iteration

Prepare for next development iteration #754

Workflow file for this run

name: Helm Build
on:
push:
branches:
- v1.x
- v2.x
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 21
- name: Set up Helm
env:
HELM_VERSION: "v3.16.1"
run: |
wget https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -O /tmp/helm.tar.gz
tar xzf /tmp/helm.tar.gz -C /tmp --strip-components=1
chmod +x /tmp/helm
- name: Build and upload Helm
env:
HELM_SSH_KEY: ${{ secrets.HELM_SSH_KEY }}
HELM_SSH_KEY_SNAPSHOT: ${{ secrets.HELM_SSH_KEY_SNAPSHOT }}
DEFAULT_BRANCH: "refs/heads/v2.x"
run: |
source ./helm/build.sh
source ./helm/upload.sh