File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 22AWS_ACCOUNT_ID ?= $(shell aws sts get-caller-identity --query Account --output text)
33AWS_REGION ?= us-west-2
44RELEASE_VERSION ?= dev-$(shell git rev-parse --short HEAD)
5- ECR_REPO ?= public.ecr.aws /kro
5+ OCI_REPO ?= ghcr.io/kro-run /kro
66
7- CONTROLLER_IMAGE ?= ${ECR_REPO }/controller:${RELEASE_VERSION}
8- HELM_IMAGE ?= ${ECR_REPO }
9- KO_DOCKER_REPO ?= ${ECR_REPO }/kro
7+ CONTROLLER_IMAGE ?= ${OCI_REPO }/controller:${RELEASE_VERSION}
8+ HELM_IMAGE ?= ${OCI_REPO }
9+ KO_DOCKER_REPO ?= ${OCI_REPO }/kro
1010
1111KOCACHE ?= ~/.ko
1212KO_PUSH ?= true
@@ -176,13 +176,13 @@ $(CONTROLLER_GEN): $(LOCALBIN)
176176
177177.PHONY : image
178178build-image : # # Build the kro controller images using ko build
179- $(WITH_GOFLAGS ) KOCACHE=$(KOCACHE ) KO_DOCKER_REPO= " public.ecr.aws/kro/controller " \
179+ $(WITH_GOFLAGS ) KOCACHE=$(KOCACHE ) \
180180 ko build --bare github.com/kro-run/kro/cmd/controller \
181181 --push=false --tags ${RELEASE_VERSION} --sbom=none
182182
183183.PHONY : publish
184- publish-image : # # Publish the kro controller images to ECR
185- $(WITH_GOFLAGS ) KOCACHE=$(KOCACHE ) KO_DOCKER_REPO= " public.ecr.aws/kro/controller " \
184+ publish-image : # # Publish the kro controller images to ghcr.io
185+ $(WITH_GOFLAGS ) KOCACHE=$(KOCACHE ) \
186186 ko publish --bare github.com/kro-run/kro/cmd/controller \
187187 --tags ${RELEASE_VERSION} --sbom=none
188188
You can’t perform that action at this time.
0 commit comments