File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : release
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ docker :
9+ environment : deployment
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Docker Login
13+ uses : docker/login-action@v1
14+ with :
15+ username : ${{ secrets.DOCKERHUB_USERNAME }}
16+ password : ${{ secrets.DOCKERHUB_TOKEN }}
17+ - name : Docker Build and Push
18+ id : docker_build
19+ uses : docker/build-push-action@v2
20+ with :
21+ push : true
22+ tags : |
23+ target/pull-request-code-coverage:lastest
24+ target/pull-request-code-coverage:${{ github.event.release.tag_name }}
Original file line number Diff line number Diff line change 1- name : Go
1+ name : pull-request-checks
22
33on :
4- push :
5- branches : [ master ]
64 pull_request :
7- branches : [ master ]
8-
95jobs :
10-
116 build :
127 runs-on : ubuntu-latest
138 steps :
2318
2419 - name : Test
2520 run : go test -v ./...
21+
22+ - name : check-format-on-pr
23+ run : make format
24+
25+ - name : check-link-on-pr
26+ run : make lint
You can’t perform that action at this time.
0 commit comments