Skip to content

Commit bd0f0d3

Browse files
authored
build: fix pushing images (#112)
1 parent c5d2895 commit bd0f0d3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ docker-push: ## Push docker image with the manager.
8686
.PHONY: combine-images
8787
combine-images: ## Combines the manifests and pushes them
8888
@echo "Combining images..."
89+
docker push $(IMG)-amd64
90+
docker push $(IMG)-arm64
8991
docker manifest create $(IMG) \
9092
--amend $(IMG)-amd64 \
9193
--amend $(IMG)-arm64

hack/kubevirt/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ install-capa:
3030
# 3) Install KubeVirt CDI
3131
CDI_TAG=$$(curl -s -w %{redirect_url} https://github.com/kubevirt/containerized-data-importer/releases/latest) && \
3232
CDI_VERSION=$$(echo $${CDI_TAG##*/}) && \
33-
kubectl create -f https://github.com/kubevirt/containerized-data-importer/releases/download/$$CDI_VERSION/cdi-operator.yaml && \
34-
kubectl create -f https://github.com/kubevirt/containerized-data-importer/releases/download/$$CDI_VERSION/cdi-cr.yaml
33+
kubectl apply -f https://github.com/kubevirt/containerized-data-importer/releases/download/$$CDI_VERSION/cdi-operator.yaml && \
34+
kubectl apply -f https://github.com/kubevirt/containerized-data-importer/releases/download/$$CDI_VERSION/cdi-cr.yaml
3535

3636
# 3) Init capi
3737
clusterctl init --infrastructure kubevirt

0 commit comments

Comments
 (0)