From 7798aa3b033116daf1908f864a138c1365a48e0b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 31 Jan 2023 16:21:12 +0100 Subject: workflows/ci: respect .dockerignore --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ece3b09..4a9de0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,6 +102,9 @@ jobs: - name: 'Publish math-${{ matrix.project }}' uses: docker/build-push-action@v3 with: + # Without context, .dockerignore is not respected? + # https://stackoverflow.com/a/74552407/514684 + context: . file: '${{ matrix.project }}/Dockerfile' platforms: '${{ steps.platforms.outputs.platforms }}' push: ${{ github.ref == 'refs/heads/master' }} -- cgit v1.2.3