Skip to content

Commit

Permalink
Use github actions cache during docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
iainsproat committed Aug 19, 2024
1 parent 7840ede commit c38e9ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export to Docker
- name: Build and save image locally
uses: docker/build-push-action@v6
with:
# context should remain as the git context
file: packages/frontend-2/Dockerfile
load: true
push: false
outputs: type=docker,dest=/tmp/speckle-frontend-2.tar
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit c38e9ba

Please sign in to comment.