Skip to content

Commit 528699d

Browse files
authored
ci: fix errors due to buildx bake with cache (#2112)
Signed-off-by: imjoey <[email protected]>
1 parent 6f78a31 commit 528699d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,14 @@ jobs:
7373
working-directory: ./api/test/docker-deploy
7474
continue-on-error: true
7575
run: |
76+
docker buildx create --name=builderx --use \
77+
--driver docker-container \
78+
--driver-opt image=moby/buildkit:master,network=host
7679
docker buildx bake --load \
7780
-f docker-compose.yaml \
7881
--set *.cache-from=type=local,src=/tmp/.buildx-cache \
79-
--set *.cache-to=type=local,dest=/tmp/.buildx-cache
82+
--set *.cache-to=type=local,dest=/tmp/.buildx-cache \
83+
--builder builderx
8084
8185
- name: Run Docker Compose
8286
working-directory: ./api/test/docker-deploy

0 commit comments

Comments
 (0)