From e9efec3a65b6cda0c809221a4298d05bf2f0f70f Mon Sep 17 00:00:00 2001 From: Emterry Date: Tue, 3 Dec 2024 16:51:41 +0000 Subject: [PATCH] add docker compose --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e69202b8..188ae5a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,16 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + + - name: Install Docker Compose + id: docker-compose + shell: bash + env: + 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 - name: Build with Docker Compose id: build