Jelajahi Sumber

fix(build) fix local build

docker build is now an alias for docker buildx, so we need to load the
images in order for the next steps to work since images rely on
previously built images.
Saúl Ibarra Corretgé 3 bulan lalu
induk
melakukan
1f7544c8be
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -33,8 +33,9 @@ $(addprefix buildx_,$(JITSI_SERVICES)):
 	$(MAKE) --no-print-directory JITSI_SERVICE=$(patsubst buildx_%,%,$@) buildx
 
 build:
-	docker build \
+	docker buildx build \
 		$(BUILD_ARGS) \
+		--load \
 		--progress plain \
 		--tag $(JITSI_REPO)/$(JITSI_SERVICE) \
 		$(JITSI_SERVICE)