From 361acaff1efb5efe935bf570e257dff48086b668 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Sat, 9 Mar 2024 15:04:04 +0700 Subject: [PATCH] Add paths to trigger Docker publish workflow --- .github/workflows/docker-publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 93b83cf..13e114a 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -7,6 +7,13 @@ name: Docker on: push: + paths: + - "Dockerfile" + - "src/**" + - "Cargo.lock" + - "Cargo.toml" + - ".dockerignore" + - ".github/workflows/docker-publish.yml" branches: ["main", "staging"] # Publish semver tags as releases. tags: ["v*.*.*"]