Skip to content

Commit

Permalink
store docker build cache on dev drive
Browse files Browse the repository at this point in the history
  • Loading branch information
rfratto committed May 23, 2024
1 parent 4cf91b1 commit ba7944d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,5 @@ jobs:
- name: Build image
working-directory: ${{ env.DEV_DRIVE }}/work
run: |
Write-Output "::group::Docker build --help"
docker build --help
Write-Output "::endgroup::"
Write-Output "::group::Docker build"
docker build -t alloy-test:latest -f Dockerfile.windows .
Write-Output "::endgroup::"
docker build -t alloy-test:latest --cache-from type=local,src=${{ env.DEV_DRIVE }}/.docker-cache -f Dockerfile.windows .

0 comments on commit ba7944d

Please sign in to comment.