Skip to content

Commit 8c2e48f

Browse files
committed
fix: list-images make target
1 parent eed6462 commit 8c2e48f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ node_modules/
4747
/_artifacts/
4848
test/e2e/config/caren-envsubst.yaml
4949
/release-metadata.yaml
50+
hack/tools/fetch-images/fetch-images

make/addons.mk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ sync-helm-values: ; $(info $(M) syncing helm values from hack to charts)
9191

9292
.PHONY: list-images
9393
list-images:
94-
go run hack/tools/fetch-images/main.go \
95-
-chart-directory=./charts/cluster-api-runtime-extensions-nutanix/
94+
cd hack/tools/fetch-images && go build
95+
./hack/tools/fetch-images/fetch-images \
96+
-chart-directory=./charts/cluster-api-runtime-extensions-nutanix/ \
9697
-helm-chart-configmap=./charts/cluster-api-runtime-extensions-nutanix/templates/helm-config.yaml \
9798
-caren-version=$(CAREN_VERSION) >> caren-images.txt

0 commit comments

Comments
 (0)