aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-11-17 21:07:15 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-11-17 21:07:15 +0100
commit8bf3498a9c140c4891a8bbb91291f49bbd1a22d3 (patch)
treebab29e864e2cdf8fccdccb42351be90ab680ca88
parentUse correct parameter name (diff)
Add another cache variation
-rw-r--r--.github/workflows/lint-test.yaml12
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