Commit 973903fb authored by Harrison King Saturley-Hall's avatar Harrison King Saturley-Hall
Browse files

ci: use inline --cache-to to be able to pull image

parent 63ce4589
...@@ -63,8 +63,7 @@ jobs: ...@@ -63,8 +63,7 @@ jobs:
- name: Build image - name: Build image
env: env:
CACHE_FROM: "type=registry,ref=${{ steps.which_cache.outputs.cache_from_location }}" CACHE_FROM: "type=registry,ref=${{ steps.which_cache.outputs.cache_from_location }}"
CACHE_TO: "type=registry,ref=${{ steps.which_cache.outputs.cache_to_location }},image-manifest=true,mode=max" CACHE_TO: "type=inline,ref=${{ steps.which_cache.outputs.cache_to_location }}"
run: | run: |
./container/build.sh --tag $IMAGE_TAG --framework ${{ matrix.framework }} --cache-from "${{ env.CACHE_FROM }}" --cache-to "${{ env.CACHE_TO }}" ./container/build.sh --tag $IMAGE_TAG --framework ${{ matrix.framework }} --cache-from "${{ env.CACHE_FROM }}" --cache-to "${{ env.CACHE_TO }}"
- name: Run pytest - name: Run pytest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment