Skip to content

Commit

Permalink
ci: fix buildx failure by disable cache (#2116)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjoey authored Sep 2, 2021
1 parent a5e07a2 commit 00d80bb
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/deploy-with-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 00d80bb

Please sign in to comment.