Browse Source

only docker push on release or master commit

Nick Sweeting 5 years ago
parent
commit
b186e98cd2
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/docker.yml

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

@@ -1,8 +1,12 @@
 name: Docker Push
 
 on:
-  workflow_dispatch:
   push:
+    branches:
+      - master
+  release:
+    types:
+      - created
 
 jobs:
   buildx: