Skip to content

Commit

Permalink
Add image_registry envVar
Browse files Browse the repository at this point in the history
  • Loading branch information
IrvingMg committed Jul 1, 2024
1 parent fd92f73 commit e6bc413
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ image-push: image-build

.PHONY: helm-chart-push
helm-chart-push: yq helm
EXTRA_TAG="$(EXTRA_TAG)" GIT_TAG="$(GIT_TAG)" HELM_CHART_REPO="$(HELM_CHART_REPO)" IMAGE_REPO="$(IMAGE_REPO)" HELM="$(HELM)" YQ="$(YQ)" ./hack/push-chart.sh
EXTRA_TAG="$(EXTRA_TAG)" GIT_TAG="$(GIT_TAG)" IMAGE_REGISTRY="$(IMAGE_REGISTRY)" HELM_CHART_REPO="$(HELM_CHART_REPO)" IMAGE_REPO="$(IMAGE_REPO)" HELM="$(HELM)" YQ="$(YQ)" ./hack/push-chart.sh

# Build an amd64 image that can be used for Kind E2E tests.
.PHONY: kind-image-build
Expand Down
5 changes: 3 additions & 2 deletions hack/push-chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ DEST_CHART_DIR=${DEST_CHART_DIR:-bin/}

EXTRA_TAG=${EXTRA_TAG:-$(git branch --show-current)}
GIT_TAG=${GIT_TAG:-$(git describe --tags --dirty --always)}
HELM_CHART_REPO=${HELM_CHART_REPO:-us-central1-docker.pkg.dev/k8s-staging-images/charts}
IMAGE_REPO=${IMAGE_REPO:-us-central1-docker.pkg.dev/k8s-staging-images/kueue}
IMAGE_REGISTRY=${IMAGE_REGISTRY:-us-central1-docker.pkg.dev/k8s-staging-images}
HELM_CHART_REPO=${HELM_CHART_REPO:-${IMAGE_REGISTRY}/charts}
IMAGE_REPO=${IMAGE_REPO:-${IMAGE_REGISTRY}/kueue}

HELM=${HELM:-./bin/helm}
YQ=${YQ:-./bin/yq}
Expand Down

0 comments on commit e6bc413

Please sign in to comment.