Skip to content

Commit

Permalink
Enable cache
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Feb 19, 2024
1 parent ca5a662 commit 3f3eedc
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# - name: Set up Docker Buildx
# id: buildx
# uses: docker/setup-buildx-action@v3
# with:
# cleanup: false
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
cleanup: false

- name: Build and push
uses: docker/bake-action@v4
with:
push: true
workdir: buildroot
set: |
*.cache-to=type=local,dest=/tmp/.buildx-cache
*.cache-from=type=local,src=/tmp/.buildx-cache

0 comments on commit 3f3eedc

Please sign in to comment.