fix cache directory
All checks were successful
ci / docker-build-and-test (pull_request) Successful in 3m20s

This commit is contained in:
Brock Allen
2024-03-04 07:05:12 +00:00
parent 47f4cab308
commit dc48828a91

View File

@@ -26,15 +26,8 @@ jobs:
tags: cproject-builder:latest
push: false
load: true
cache-from: type=local,src=/tmp/docker/${{ runner.os }}-builder-image.tar
cache-to: type=local,dest=/tmp/docker/${{ runner.os }}-builder-image.tar
-
name: Upload docker image
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-docker-${{ steps.dockerfile-hash.outputs.hash }}
path: /tmp/docker/${{ runner.os }}-builder-image.tar
retention-days: 3
cache-from: type=local,src=/tmp/docker
cache-to: type=local,dest=/tmp/docker
-
name: Build library
uses: https://github.com/addnab/docker-run-action@v3