diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b349d5d5..7caa000e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,7 +57,7 @@ jobs: name: Build and push Docker image uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0 with: - context: . + file: 'test.Dockerfile' push: ${{ github.event_name != 'pull_request' && github.ref_name == github.event.repository.default_branch }} platforms: linux/amd64,linux/arm64 tags: ${{ steps.test-meta.outputs.tags }} diff --git a/test.Dockerfile b/test.Dockerfile new file mode 100644 index 000000000..c35f1b5f5 --- /dev/null +++ b/test.Dockerfile @@ -0,0 +1 @@ +FROM scratch