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*.*.*"]