Skip to content

Commit

Permalink
Use github action cache for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbouh committed Nov 30, 2023
1 parent b0b2a13 commit c31afea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ jobs:
shell: bash
run: |
set -ex
env DOCKER_BUILDKIT=1 docker compose build --push
env DOCKER_BUILDKIT=1 docker buildx bake \
--set target.cache-from=type=gha \
--set target.cache-to=type=gha,mode=max \
--push

0 comments on commit c31afea

Please sign in to comment.