From 09d0bc896314d05cdd746ea21b3d8946f18d633a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 31 Jan 2023 16:25:18 +0100 Subject: workflows/ci: respect .dockerignore --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de24cb1..35330a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,9 @@ jobs: - name: Build and publish uses: docker/build-push-action@v3 with: + # Without context, .dockerignore isn't respected? + # https://stackoverflow.com/a/74552407/514684 + context: . labels: '${{ steps.meta.outputs.labels }}' platforms: '${{ steps.platforms.outputs.platforms }}' push: true -- cgit v1.2.3