use caching for docker builds (#1340)

* try pulling for cached layers

* use cache-from and cache-to

* empty commit

* add readme

* use specific cache tags

* also cache from main
This commit is contained in:
Robert Brennan
2024-04-24 15:57:46 -04:00
committed by GitHub
parent d357fcff36
commit 8828d9836d
3 changed files with 22 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ jobs:
- name: Log-in to ghcr.io
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache