File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ name: Create and publish a dev Docker image
11
11
12
12
on :
13
13
push :
14
- branches : [' main' ]
14
+ branches : [" main", "feat/add_docker_hub_spport" ]
15
15
16
16
env :
17
17
REGISTRY : ghcr.io
64
64
tags : ${{ steps.meta.outputs.tags }}
65
65
labels : ${{ steps.meta.outputs.labels }}
66
66
67
+ - name : Login to DockerHub
68
+ uses : docker/login-action@v2
69
+ with :
70
+ username : huolalatech
71
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
72
+
73
+ - name : Build and push
74
+ id : docker_build
75
+ uses : docker/build-push-action@v4
76
+ with :
77
+ context : .
78
+ push : true
79
+ tags : ${{ steps.meta.outputs.tags }}
80
+ labels : ${{ steps.meta.outputs.labels }}
81
+
67
82
- name : Lark bot notify
68
83
env :
69
84
TOKEN : ${{ secrets.LARK_BOT_TOKEN }}
72
87
curl "https://pagespy.blucas.me/lark/ci?branch=$BRANCH_NAME&actionId=$GITHUB_RUN_ID" \
73
88
-X POST \
74
89
-H "token: $TOKEN"
75
-
You can’t perform that action at this time.
0 commit comments