Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/helm-oci-package-ghcr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
################################################################################
# This file is AUTOGENERATED with <https://github.com/sapcc/go-makefile-maker> #
# Edit Makefile.maker.yaml instead. #
################################################################################

# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company
# SPDX-License-Identifier: Apache-2.0

name: Helm OCI Package GHCR
"on":
push:
branches:
- new-helm-oci
tags:
- '*'
workflow_dispatch: {}
permissions:
contents: read
packages: write
jobs:
build-and-push-helm-package:
name: Build and publish Helm Chart OCI
runs-on: large_runner_16core_64gb
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Install Helm
uses: azure/setup-helm@v4.3.1
- name: Lint Helm Chart
run: helm lint charts/openstack-hypervisor-operator
- name: Package Helm Chart
run: helm package charts/openstack-hypervisor-operator --destination ./chart
- name: Log in to the Container registry
uses: docker/login-action@v4
with:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
- name: Push Helm Chart to ghcr.io
run: helm push ./chart/*.tgz oci://ghcr.io/${{ github.repository_owner }}/charts
48 changes: 0 additions & 48 deletions .github/workflows/publish-helm.yml

This file was deleted.

3 changes: 3 additions & 0 deletions Makefile.maker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ githubWorkflow:
- latest
- semver
- sha
pushHelmChartToGhcr:
path: charts/openstack-hypervisor-operator
lint: true
license:
enabled: true

Expand Down
Loading