Skip to content
Merged
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
6 changes: 4 additions & 2 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Image

# Build and push the konnector + backend images and Helm charts on tags:
# - tags v* -> ghcr.io/<owner>/konnector:<version>, ghcr.io/<owner>/backend:<version>
# - tags v* -> oci://ghcr.io/kbind/charts/{konnector-v2,backend-v2}:<version>
# - tags v* -> oci://ghcr.io/<owner>/charts/{konnector-v2,backend-v2}:<version>
# No :latest or :<sha> tags — the image repo is shared with v1/main images.
on:
push:
Expand Down Expand Up @@ -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"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down