Skip to content

A free, self-hostable news aggregator…

Fix `.dockerignore` being ignored during build in CI (#9001)

Inverle6908d998d4d4
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 1b1ad4c4e..9b83a5edd 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -85,6 +85,7 @@ jobs:
- name: Build and push Docker images
uses: docker/build-push-action@v7
with:
+ context: . # Switching from git context to path context, needed for .dockerignore to be applied. See: https://github.com/docker/build-push-action#git-context
file: ${{ matrix.file }}
platforms: linux/amd64,linux/arm/v7,linux/arm64
build-args: |