build: bump ramen version to latest #56
Workflow file for this run
This file contains hidden or 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
--- | |
name: Chart Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'config/**' | |
- 'hack/**' | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
env: | |
CHART_TARGET: ./chart_build | |
jobs: | |
chart: | |
runs-on: ubuntu-latest | |
name: Generate and Lint Helm Chart | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Cache tools | |
uses: actions/cache@v4 | |
with: | |
path: ./bin | |
key: ${{ runner.os }}-bin-${{ hashFiles('Makefile') }} | |
- name: Install yq | |
uses: redhat-actions/openshift-tools-installer@v1 | |
with: | |
source: github | |
yq: latest | |
- name: Create chart target | |
run: rm -rf ${{ env.CHART_TARGET }} && mkdir -p ${{ env.CHART_TARGET }} | |
- name: Generate chart | |
run: make generate/chart CHART_VERSION=0.0.0 CHART_TARGET=${{ env.CHART_TARGET }} | |
- name: Lint chart | |
run: make lint/chart CHART_TARGET=${{ env.CHART_TARGET }} | |
- name: Delete chart | |
if: always() | |
run: rm -rf ${{ env.CHART_TARGET }} |