diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9db9aacb..9090d16d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -23,11 +23,17 @@ jobs:
       #   id: setup_container_structure_test
       #   uses: ministryofjustice/github-actions/setup-container-structure-test@ccf9e3a4a828df1ec741f6c8e6ed9d0acaef3490 # v18.5.0
 
-      - name: Install Docker Compose
+      - name: Set up Docker Buildx
+        uses: docker/setup-buildx-action@v2
 
+      - name: Build with Docker Compose
+        id: build
+        shell: bash
+        env:
+          IMAGE_NAME: ${{ github.repository }}
+          IMAGE_TAG: ${{ github.sha }}
         run: |
-          sudo curl -L "https://github.com/docker/compose/releases/download/v2.21.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
-          sudo chmod +x /usr/local/bin/docker-compose
-          docker-compose --version
+          docker compose build
+          
       - name: Run tests
         run: make test-python
\ No newline at end of file