Skip to content

fix OCI chart support #158

fix OCI chart support

fix OCI chart support #158

Workflow file for this run

name: Go & Image
on:
# Trigger the workflow on push or pull request on master branch
pull_request:
branches:
- master
- v2
- v1
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up qemu
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: Build
run: make khelm
- name: Test
run: make test
- name: Lint
run: make check
- name: Container image
run: make image
- name: e2e test
run: make e2e-test
- name: Extract Helm version
id: extract_helm_version
run: |
printf '::set-output name=helm_version::' &&
grep helm\.sh/helm/ go.mod | sed -E -e 's!helm\.sh/helm/v3|\s+|\+.*!!g; s!^v!!' | cut -d " " -f2 | grep -E .+
- name: Dry-run release
run: make snapshot
env:
HELM_VERSION: ${{ steps.extract_helm_version.outputs.helm_version }}