diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index ebcb11902..f4b057907 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -2,7 +2,7 @@ name: Image # Build and push the konnector + backend images and Helm charts on tags: # - tags v* -> ghcr.io//konnector:, ghcr.io//backend: -# - tags v* -> oci://ghcr.io/kbind/charts/{konnector-v2,backend-v2}: +# - tags v* -> oci://ghcr.io//charts/{konnector-v2,backend-v2}: # No :latest or : tags — the image repo is shared with v1/main images. on: push: @@ -65,4 +65,6 @@ jobs: run: echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT" - name: Package and push Helm charts (OCI) - run: make helm-push VERSION=${{ steps.v.outputs.version }} + run: | + owner="$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')" + make helm-push VERSION=${{ steps.v.outputs.version }} HELM_REPO="ghcr.io/${owner}/charts" diff --git a/Makefile b/Makefile index 2b2eab1b4..603c6575f 100644 --- a/Makefile +++ b/Makefile @@ -158,7 +158,7 @@ tilt-down: # Helm publishing parameters HELM ?= helm -HELM_REPO ?= ghcr.io/kbind/charts +HELM_REPO ?= ghcr.io/kbind-dev/charts VERSION ?= 0.0.0-dev CHART_VERSION ?= $(VERSION) IMAGE_VERSION ?= $(VERSION)