File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- issue_comment :
8- types : [created, edited]
97
108env :
119 REGISTRY : docker.io
1210 IMAGE_NAME : spyduck/cluster-api-provider-proxmox
13- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1411
1512jobs :
1613 # add public code coverage reports
1714 coverage :
1815 name : unit test coverage
1916 runs-on : ubuntu-latest
20- if : github.event_name == 'push' || contains(github.event.comment.body, '/unit-test')
2117 steps :
2218 - uses : actions/checkout@master
2319 - run : " make unit-test-cover"
2723 build :
2824 name : docker build & push
2925 runs-on : ubuntu-latest
30- if : github.event_name == 'push' || contains(github.event.comment.body, '/buid-push')
3126 steps :
3227 - name : Checkout repository
3328 uses : actions/checkout@v4
4035
4136 # platform = linux/amd64,linux/arm64
4237 - name : Build and push Docker image
43- run : " make docker-buildx IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${GITHUB_SHA::7}"
44-
45- # report result to pr comment if event is pr comment
46- result :
47- name : report to pr comment
48- runs-on : ubunt-latest
49- if : github.event_name == 'issue_comment' && ${{ github.event.issue.pull_request }}
50- steps :
51- - run : |
52- gh pr comment ${{ github.event.issue.number }} -b "[Actions: CI] Check result [here](https://github.com/sp-yduck/cluster-api-provider-proxmox/actions/runs/${{ github.run_number }})"
38+ run : " make docker-buildx IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${GITHUB_SHA::7}"
You can’t perform that action at this time.
0 commit comments