diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 32555f934f9ca2dc8170af2dc372d8666927198f..fc892099d02f1d0b3edf976e04affef236c83f90 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -524,7 +524,7 @@ release-images:
   image: docker:${DOCKER_VERSION}-dind
   variables:
     BUILDX_BAKE_ARGS: --allow=network.host --load
-    BUILDX_BUILD_ARGS: --builder=multiarch --output="type=docker,name=dbrepo-core:build"
+    BUILDX_BUILD_ARGS: --builder=multiarch --output="type=docker,name=dbrepo-core:build" --target=build
   dependencies:
     - clean-images
     - test-analyse-service