浏览代码

ci: run Docker tests only when the Dockerfiles are modified

Frédéric Guillot 1 年之前
父节点
当前提交
b87c547a07
共有 1 个文件被更改,包括 2 次插入 和 0 次删除
  1. 2 0
      .github/workflows/docker.yml

+ 2 - 0
.github/workflows/docker.yml

@@ -7,6 +7,8 @@ on:
       - '[0-9]+.[0-9]+.[0-9]+'
       - '[0-9]+.[0-9]+.[0-9]+'
   pull_request:
   pull_request:
     branches: [ main ]
     branches: [ main ]
+    paths:
+      - 'packaging/docker/**'
 jobs:
 jobs:
   docker-images:
   docker-images:
     name: Docker Images
     name: Docker Images