File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9999 docker push ghcr.io/ruby/ruby:$tag
100100 done
101101
102+ - uses : ruby/action-slack@v3.2.2
103+ with :
104+ payload : |
105+ {
106+ "attachments": [{
107+ "text": "${{ job.status }}: ${{ matrix.ubuntu_version }} ${{ matrix.arch }} ${{ matrix.debug_suffix }} ${{ matrix.dev_suffix }} <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }}>",
108+ "color": "danger"
109+ }]
110+ }
111+ env :
112+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
113+ if : failure()
114+
102115 deploy_multiarch :
103116 strategy :
104117 matrix :
@@ -146,3 +159,16 @@ jobs:
146159 ruby_version="${{ env.ruby_version }}" \
147160 ubuntu_version="${{ matrix.ubuntu_version }}" \
148161 image_version_suffix=${{ matrix.image_version_suffix }}
162+
163+ - uses : ruby/action-slack@v3.2.2
164+ with :
165+ payload : |
166+ {
167+ "attachments": [{
168+ "text": "${{ job.status }}: ${{ matrix.registry_name }} ${{ matrix.ubuntu_version }} ${{ matrix.image_version_suffix }} <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }}>",
169+ "color": "danger"
170+ }]
171+ }
172+ env :
173+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
174+ if : failure()
You can’t perform that action at this time.
0 commit comments