File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 8
8
- ' opened'
9
9
- ' synchronize'
10
10
- ' reopened'
11
+ schedule :
12
+ - cron : ' 0 23 * * *'
13
+
11
14
env :
12
15
REGISTRY_NAME : k8scc01covidacr
13
16
DEV_REGISTRY_NAME : k8scc01covidacrdev
14
17
TRIVY_VERSION : " v0.43.1"
18
+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
15
19
16
20
jobs :
17
21
build :
88
92
docker pull localhost:5000/jupyter-apis:${{ github.sha }}
89
93
docker tag localhost:5000/jupyter-apis:${{ github.sha }} ${{ env.REGISTRY }}/jupyter-apis:${{ github.sha }}
90
94
docker push ${{ env.REGISTRY }}/jupyter-apis:${{ github.sha }}
95
+
96
+ - name : Slack Notification
97
+ if : failure() && github.event_name=='schedule'
98
+ uses : act10ns/slack@v1
99
+ with :
100
+ status : failure
101
+ message : jupyter-apis build failed. https://github.com/StatCan/jupyter-apis/actions/runs/${{github.run_id}}
You can’t perform that action at this time.
0 commit comments