π [Move] docker push to only when release action
Browse files
.github/workflows/docker.yaml
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
name: Docker Image Deploy to DockerHub
|
2 |
|
3 |
on:
|
4 |
-
|
5 |
-
|
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:
|