Skip to content

Commit

Permalink
add some caching for docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jashan-lco committed Dec 5, 2023
1 parent d064f8d commit 24e8757
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ jobs:
runs-on:
- banzai-runner
steps:
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Checkout
uses: actions/checkout@v4

Expand All @@ -27,7 +33,7 @@ jobs:

- name: Build docker image
run: |
docker build -t banzai:test-latest .
docker buildx build -t banzai:test-latest --cache-to type=gha,ignore-error=true,mode=max --cache-from type=gha .
- name: Copy docker image to nodes
run: |
Expand Down

0 comments on commit 24e8757

Please sign in to comment.