From 68cc17944346ab3ded3cef047669aed107c79987 Mon Sep 17 00:00:00 2001 From: Erik Groh Date: Sun, 3 Nov 2024 13:02:02 +0000 Subject: [PATCH] Limit when Container should be rebuilt --- .github/workflows/docker-build-and-push.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docker-build-and-push.yml b/.github/workflows/docker-build-and-push.yml index d1788fe..143709e 100644 --- a/.github/workflows/docker-build-and-push.yml +++ b/.github/workflows/docker-build-and-push.yml @@ -2,6 +2,14 @@ name: Docker build and push on: push: + branches: + - '**'' + paths: + - 'src/**' + - '.github/**' + - 'requirements.txt' + - 'entrypoint.sh' + - 'Dockerfile' jobs: docker: