From 194cb1677ba29a1a43d218a8482d24bc84d63000 Mon Sep 17 00:00:00 2001 From: Ethan Mosbaugh Date: Wed, 28 Aug 2024 16:24:56 -0700 Subject: [PATCH] fix(ci): operator release fails with "build/chart: No such file or directory (#1053) fix(ci): operator release fails with "build/chart: No such file or directory" --- common.mk | 1 + operator/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/common.mk b/common.mk index 717515134..46ac526aa 100644 --- a/common.mk +++ b/common.mk @@ -79,6 +79,7 @@ apko-output-image: echo "error: no image digest found" >&2; \ exit 1; \ fi ; \ + mkdir -p build; \ echo "$(IMAGE)@$$digest" > build/image .PHONY: melange-build diff --git a/operator/Makefile b/operator/Makefile index 88cc99750..e3c96b509 100644 --- a/operator/Makefile +++ b/operator/Makefile @@ -158,6 +158,7 @@ build-and-push-operator-image: melange-build-operator apko-build-and-publish .PHONY: build-chart build-chart: cd charts/embedded-cluster-operator && ../../scripts/publish-helm-chart.sh + mkdir -p build echo "$(CHART_REMOTE)/embedded-cluster-operator:$(CHART_VERSION)" > build/chart .PHONY: build-ttl.sh