File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 29
29
30
30
- name : Go Test
31
31
run : make test
32
+
33
+ push :
34
+ name : Push Docker image to Github Packages
35
+ runs-on : ubuntu-latest
36
+ steps :
37
+ - name : Checkout
38
+ uses : actions/checkout@v2
39
+
40
+ - name : Build and push Docker images
41
+
42
+ with :
43
+ username : nebell
44
+ password : ${{ secrets.GITHUB_TOKEN }}
45
+ registry : docker.pkg.github.com
46
+ repository : nebell/ga4summer2020/dingdongbot
47
+ tag_with_ref : true
48
+ # tags: latest
Original file line number Diff line number Diff line change 79
79
80
80
# Runs a single command using the runners shell
81
81
- name : Build Dingdongbot
82
- run : make install
82
+ run : |
83
+ go vet ./...
84
+ make install
85
+ make test
Original file line number Diff line number Diff line change
1
+ FROM golang
2
+ COPY . go_wechaty_examples
3
+ ENV GOPROXY https://goproxy.io,direct
4
+ RUN cd go_wechaty_examples && make test
5
+ ENTRYPOINT ./go_wechaty_examples/ding-dong-bot
You can’t perform that action at this time.
0 commit comments