From f04c6691438f768e6a48cb36e24950c9c21957de Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Thu, 29 Oct 2020 16:57:30 -0400 Subject: [PATCH] chore: don't build Dockerfile if not necessary Signed-off-by: Jef LeCompte --- .github/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f6cbcac..7f5a71f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,10 +30,11 @@ jobs: steps: - uses: actions/checkout@v2 - uses: dorny/paths-filter@v2.5.1 - id: changes + id: filter with: filters: | - src: + docker: - 'Dockerfile' - name: Build image + if: steps.filter.outputs.docker == 'true' run: docker build .