From 2933bdbdd8b7732c38fcf3fbb5b24fd6bfa3b6bf Mon Sep 17 00:00:00 2001 From: tituschewxj Date: Tue, 8 Oct 2024 22:08:57 +0800 Subject: [PATCH] fix: use docker as service --- .github/workflows/docker-build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index c9859fd78d..5d4d1ab1e4 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -14,15 +14,15 @@ jobs: test: runs-on: ubuntu-latest + services: + docker: + image: docker:latest + options: --privileged + steps: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Docker - uses: docker/setup-buildx-action@v2 # Sets up Docker Buildx - with: - version: "latest" # Optional, specify a version if needed - - name: Create Environment Files run: | cd ./apps/frontend