diff options
author | 2020-11-17 19:43:25 +0100 | |
---|---|---|
committer | 2020-11-17 19:43:25 +0100 | |
commit | 96c0d2502a9b33965cbadb16d25f72397443b941 (patch) | |
tree | a30428653e616bc8b2740e6b089c4848ce188df6 | |
parent | Use three image setup for build (diff) |
Use one cache target per build
-rw-r--r-- | .github/workflows/lint-test.yaml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index d551790..8056c7d 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -129,9 +129,7 @@ jobs: cache-from: | type=local,src=/tmp/.buildx-cache ghcr.io/python-discord/snekbox-base:latest - cache-to: | - type=local,dest=/tmp/.buildx-cache - ghcr.io/python-discord/snekbox-base:latest + cache-to: type=local,dest=/tmp/.buildx-cache tags: ghcr.io/python-discord/snekbox-base:latest - name: Push venv image @@ -139,13 +137,11 @@ jobs: with: context: . file: ./docker/base.Dockerfile - target: base + target: venv push: true 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 - ghcr.io/python-discord/snekbox-venv:latest + cache-to: ghcr.io/python-discord/snekbox-venv:latest tags: ghcr.io/python-discord/snekbox-venv:latest |