henry000 commited on
Commit
a496325
Β·
1 Parent(s): a421f81

🚚 [Move] docker push to only when release action

Browse files
Files changed (1) hide show
  1. .github/workflows/docker.yaml +2 -4
.github/workflows/docker.yaml CHANGED
@@ -1,10 +1,8 @@
1
  name: Docker Image Deploy to DockerHub
2
 
3
  on:
4
- push:
5
- branches: [main]
6
- pull_request:
7
- branches: [main]
8
 
9
  jobs:
10
  build:
 
1
  name: Docker Image Deploy to DockerHub
2
 
3
  on:
4
+ release:
5
+ types: [published]
 
 
6
 
7
  jobs:
8
  build: