From 00d80bbfecaef4189c2866fcadbc7db8a978ece3 Mon Sep 17 00:00:00 2001 From: Joey Date: Fri, 3 Sep 2021 00:34:59 +0800 Subject: [PATCH] ci: fix buildx failure by disable cache (#2116) --- .github/workflows/deploy-with-docker.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/deploy-with-docker.yml b/.github/workflows/deploy-with-docker.yml index 4962061d61..40c9574ba5 100644 --- a/.github/workflows/deploy-with-docker.yml +++ b/.github/workflows/deploy-with-docker.yml @@ -26,11 +26,6 @@ jobs: submodules: recursive - uses: docker/setup-buildx-action@v1 - with: - driver: docker-container - driver-opts: | - image=moby/buildkit:master - network=host - uses: actions/cache@v2 with: @@ -55,10 +50,6 @@ jobs: context: . build-args: | APISIX_DASHBOARD_VERSION=master - cache-from: | - type=local,src=/tmp/.buildx-cache - cache-to: | - type=local,dest=/tmp/.buildx-cache - name: Modify Config run: | @@ -73,14 +64,8 @@ jobs: working-directory: ./api/test/docker-deploy continue-on-error: true run: | - docker buildx create --name=builderx --use \ - --driver docker-container \ - --driver-opt image=moby/buildkit:master,network=host docker buildx bake --load \ - -f docker-compose.yaml \ - --set *.cache-from=type=local,src=/tmp/.buildx-cache \ - --set *.cache-to=type=local,dest=/tmp/.buildx-cache \ - --builder builderx + -f docker-compose.yaml - name: Run Docker Compose working-directory: ./api/test/docker-deploy