Skip to content

Commit 00d80bb

Browse files
authored
ci: fix buildx failure by disable cache (#2116)
1 parent a5e07a2 commit 00d80bb

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/deploy-with-docker.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ jobs:
2626
submodules: recursive
2727

2828
- uses: docker/setup-buildx-action@v1
29-
with:
30-
driver: docker-container
31-
driver-opts: |
32-
image=moby/buildkit:master
33-
network=host
3429

3530
- uses: actions/cache@v2
3631
with:
@@ -55,10 +50,6 @@ jobs:
5550
context: .
5651
build-args: |
5752
APISIX_DASHBOARD_VERSION=master
58-
cache-from: |
59-
type=local,src=/tmp/.buildx-cache
60-
cache-to: |
61-
type=local,dest=/tmp/.buildx-cache
6253
6354
- name: Modify Config
6455
run: |
@@ -73,14 +64,8 @@ jobs:
7364
working-directory: ./api/test/docker-deploy
7465
continue-on-error: true
7566
run: |
76-
docker buildx create --name=builderx --use \
77-
--driver docker-container \
78-
--driver-opt image=moby/buildkit:master,network=host
7967
docker buildx bake --load \
80-
-f docker-compose.yaml \
81-
--set *.cache-from=type=local,src=/tmp/.buildx-cache \
82-
--set *.cache-to=type=local,dest=/tmp/.buildx-cache \
83-
--builder builderx
68+
-f docker-compose.yaml
8469
8570
- name: Run Docker Compose
8671
working-directory: ./api/test/docker-deploy

0 commit comments

Comments
 (0)