chore(ci): fix docker image pre-build for testing
@@ -137,8 +137,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
+ file: ${{ steps.prep.outputs.dockerfile }}
+ build-args: PYTHON=${{ matrix.python-version }}
+ pull: true
load: true
tags: ${{ env.TEST_TAG }}
+ cache-from: type=local,src=/tmp/.buildx-cache
+ cache-to: type=local,dest=/tmp/.buildx-cache
- name: Test image
run: docker run --rm ${{ env.TEST_TAG }} quick_test --data / --testnet
- name: Build and push
