diff options
author | 2020-11-17 21:07:15 +0100 | |
---|---|---|
committer | 2020-11-17 21:07:15 +0100 | |
commit | 8bf3498a9c140c4891a8bbb91291f49bbd1a22d3 (patch) | |
tree | bab29e864e2cdf8fccdccb42351be90ab680ca88 | |
parent | Use correct parameter name (diff) |
Add another cache variation
-rw-r--r-- | .github/workflows/lint-test.yaml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 3f0b734..1061b43 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -52,7 +52,7 @@ jobs: type=local,src=/tmp/.buildx-cache ghcr.io/python-discord/snekbox-base:latest ghcr.io/python-discord/snekbox-venv:latest - cache-to: type=local,dest=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache,mode=max tags: ghcr.io/python-discord/snekbox-venv:${{ steps.sha_tag.outputs.tag }} - name: Start Container @@ -108,8 +108,6 @@ jobs: context: . file: ./docker/Dockerfile push: true - build-args: | - BUILDKIT_INLINE_CACHE=1 cache-from: | type=local,src=/tmp/.buildx-cache ghcr.io/python-discord/snekbox-base:latest @@ -125,12 +123,10 @@ jobs: file: ./docker/Dockerfile target: base push: true - build-args: | - BUILDKIT_INLINE_CACHE=1 cache-from: | type=local,src=/tmp/.buildx-cache ghcr.io/python-discord/snekbox-base:latest - cache-to: type=local,dest=/tmp/.buildx-cache + cache-to: type=inline tags: ghcr.io/python-discord/snekbox-base:latest - name: Push venv image @@ -140,11 +136,9 @@ jobs: file: ./docker/Dockerfile target: venv push: true - build-args: | - BUILDKIT_INLINE_CACHE=1 cache-from: | type=local,src=/tmp/.buildx-cache ghcr.io/python-discord/snekbox-base:latest ghcr.io/python-discord/snekbox-venv:latest - cache-to: type=local,dest=/tmp/.buildx-cache + cache-to: type=inline tags: ghcr.io/python-discord/snekbox-venv:latest |