You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by bz...@apache.org on 2021/09/02 16:35:05 UTC

[apisix-dashboard] branch master updated: ci: fix buildx failure by disable cache (#2116)

This is an automated email from the ASF dual-hosted git repository.

bzp2010 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 00d80bb  ci: fix buildx failure by disable cache (#2116)
00d80bb is described below

commit 00d80bbfecaef4189c2866fcadbc7db8a978ece3
Author: Joey <ma...@apache.org>
AuthorDate: Fri Sep 3 00:34:59 2021 +0800

    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 4962061..40c9574 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