aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-11-17 17:40:00 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-11-17 17:40:00 +0100
commit560139acfabea38326969c9812c80eb1693906a2 (patch)
treefb7c3792b9c8f2163a16d6086cd504630ad81f45
parentFix incorrectly specified cache-from argument (diff)
Troubleshoot vague error message
-rw-r--r--.github/workflows/lint-test.yaml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
index fb68d5c..ec0b4b0 100644
--- a/.github/workflows/lint-test.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -50,7 +50,7 @@ jobs:
cache-from: |
type=local,src=/tmp/.base-buildx-cache
ghcr.io/python-discord/snekbox-base:latest
- cache-to: type=local,type=local,dest=/tmp/.base-buildx-cache
+ cache-to: type=local,dest=/tmp/.base-buildx-cache
tags: ghcr.io/python-discord/snekbox-base:${{ steps.sha_tag.outputs.tag }}
- name: Show Containers
@@ -116,13 +116,12 @@ jobs:
with:
context: .
file: ./docker/Dockerfile
- build-args: IMAGE_TAG=${{ steps.sha_tag.outputs.tag }}
push: true
cache-from: |
type=local,src=/tmp/.base-buildx-cache
type=local,src=/tmp/.final-buildx-cache
ghcr.io/python-discord/snekbox:latest
- cache-to: type=local,dest=/tmp/.final-buildx-cache,
+ cache-to: type=local,dest=/tmp/.final-buildx-cache
tags: ghcr.io/python-discord/snekbox:latest
- name: Build builder image
@@ -131,6 +130,6 @@ jobs:
context: .
file: ./docker/base.Dockerfile
push: true
- cache-from: type=local,src=/tmp/.base-buildx-cache,
- cache-to: type=local,dest=/tmp/.base-buildx-cache,
+ cache-from: type=local,src=/tmp/.base-buildx-cache
+ cache-to: type=local,dest=/tmp/.base-buildx-cache
tags: ghcr.io/python-discord/snekbox:latest