File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ###############################################################################
2+ # This file is AUTOGENERATED with <https://github.com/sapcc/go-makefile-maker> #
3+ # Edit Makefile.maker.yaml instead. #
4+ # ###############################################################################
5+
6+ # SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company
7+ # SPDX-License-Identifier: Apache-2.0
8+
9+ name : Helm OCI Package GHCR
10+ " on " :
11+ push :
12+ tags :
13+ - ' *'
14+ workflow_dispatch : {}
15+ permissions :
16+ contents : read
17+ packages : write
18+ jobs :
19+ build-and-push-helm-package :
20+ name : Build and publish Helm Chart OCI
21+ runs-on : large_runner_16core_64gb
22+ steps :
23+ - name : Check out code
24+ uses : actions/checkout@v6
25+ - name : Install Helm
26+ uses : azure/setup-helm@v4.3.1
27+ - name : Lint Helm Chart
28+ run : helm lint .
29+ - name : Package Helm Chart
30+ run : helm package charts/openstack-hypervisor-operator --destination ./chart
31+ - name : Log in to the Container registry
32+ uses : docker/login-action@v4
33+ with :
34+ password : ${{ secrets.GITHUB_TOKEN }}
35+ registry : ghcr.io
36+ username : ${{ github.actor }}
37+ - name : Push Helm Chart to ghcr.io
38+ run : helm push ./chart/*.tgz oci://ghcr.io/${{ github.repository_owner }}/charts
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ githubWorkflow:
4242 - latest
4343 - semver
4444 - sha
45+ pushHelmChartToGhcr :
46+ path : charts/openstack-hypervisor-operator
47+ lint : true
4548 license :
4649 enabled : true
4750
You can’t perform that action at this time.
0 commit comments