Skip to content

Commit

Permalink
Check caching
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed May 8, 2024
1 parent d86c619 commit c016a8f
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3


- uses: crazy-max/ghaction-github-runtime@v3
- name: Build and upload to ghcr.io 📤
id: build-upload
uses: docker/bake-action@v4
Expand All @@ -59,21 +61,14 @@ jobs:
set: |
*.platform=linux/amd64
*.output=type=registry,push-by-digest=true,name-canonical=true
*.cache-from=type=local,src=/tmp/.buildx-cache
*.cache-to=type=local,mode=max,dest=/tmp/.buildx-cache-new
*.cache-from=type=gha
*.cache-to=type=gha,mode=max
files: |
docker-bake.hcl
build.json
.github/workflows/env.hcl
# Temp fix for issue of fast size grow in local caching:
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- name: Set output variables
id: bake_metadata
run: |
Expand Down

0 comments on commit c016a8f

Please sign in to comment.