Selaa lähdekoodia

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 kuukautta sitten
vanhempi
sitoutus
1f7544c8be
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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)