From 64bbbdb6f8b1d416500241c808a6c2071e3d93a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20H=C3=B6ffner?= Date: Tue, 12 Sep 2023 11:11:10 +0200 Subject: [PATCH] prevent unnecessary Docker image rebuilds --- .github/workflows/docker.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ed41685..95aeea0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -5,8 +5,23 @@ on: push: branches: ['master'] tags: '[0-9]+\.[0-9]+\.[0-9]+*' + paths-ignore: + - '.gitignore' + - '.env.dist' + - '.github/dependabot.yml' + - '.github/workflows/release.yml' + - 'LICENSE' + - 'README.md' + pull_request: pull_request_target: branches: ['master'] + paths-ignore: + - '.gitignore' + - '.env.dist' + - '.github/dependabot.yml' + - '.github/workflows/release.yml' + - 'LICENSE' + - 'README.md' env: REGISTRY: ghcr.io