Skip to content

Commit

Permalink
Cache the builder
Browse files Browse the repository at this point in the history
  • Loading branch information
jordemort committed May 3, 2024
1 parent 6317963 commit acc77c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/astro-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ jobs:
- name: Pull Kroki containers
run: docker compose pull kroki blockdiag mermaid bpmn excalidraw

- name: Try to pull builder
run: docker compose pull astro || true

- name: Build and maybe push builder
uses: docker/build-push-action@v5
with:
context: .
cache-from: type=registry,ghcr.io/jordemort/jordemort-blog-builder:latest
cache-to: type=inline
labels: ${{ steps.meta.outputs.labels }}
pull: true
Expand Down

0 comments on commit acc77c3

Please sign in to comment.