aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-31 16:21:12 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-31 16:21:12 +0100
commit7798aa3b033116daf1908f864a138c1365a48e0b (patch)
tree801b286b1acde40da80f751796f9404c5451d586 /.github
parentMakefile: wrap long commands (diff)
downloadmath-server-7798aa3b033116daf1908f864a138c1365a48e0b.tar.gz
math-server-7798aa3b033116daf1908f864a138c1365a48e0b.zip
workflows/ci: respect .dockerignore
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 3 insertions, 0 deletions
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' }}