Explorar o código

feat: 修改docker自动打包条件

xieyonghong %!s(int64=3) %!d(string=hai) anos
pai
achega
681022ce5f
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      .github/workflows/docker.yml

+ 3 - 1
.github/workflows/docker.yml

@@ -1,5 +1,7 @@
 name: build images
-on: [push]
+on:
+  push:
+    branches: ["master", "2.0"]
 jobs:
   build-and-deploy:
     runs-on: ubuntu-latest