Skip to content

Commit

Permalink
ci: fix errors due to buildx bake with cache (#2112)
Browse files Browse the repository at this point in the history
Signed-off-by: imjoey <[email protected]>
  • Loading branch information
imjoey authored Sep 2, 2021
1 parent 6f78a31 commit 528699d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-with-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,14 @@ 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
--set *.cache-to=type=local,dest=/tmp/.buildx-cache \
--builder builderx
- name: Run Docker Compose
working-directory: ./api/test/docker-deploy
Expand Down

0 comments on commit 528699d

Please sign in to comment.