File tree Expand file tree Collapse file tree 2 files changed +16
-30
lines changed
Expand file tree Collapse file tree 2 files changed +16
-30
lines changed Original file line number Diff line number Diff line change @@ -141,23 +141,16 @@ jobs:
141141 - name : Notify on newly built image
142142 if : ${{ inputs.push_image }}
143143 uses : slackapi/slack-github-action@v2.1.1
144- env :
145- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
146- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
147144 with :
145+ webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
146+ webhook-type : incoming-webhook
148147 payload : |
149- {
150- "text": "Built image ${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}. Maybe let 2i2c know?",
151- "blocks": [
152- {
153- "type": "section",
154- "text": {
155- "type": "mrkdwn",
156- "text": "Built image `${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}`. Maybe let 2i2c know?"
157- }
158- }
159- ]
160- }
148+ text: "Built image ${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}. Maybe let 2i2c know?"
149+ blocks:
150+ - type: "section"
151+ text:
152+ type: "mrkdwn"
153+ text: "Built image `${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}`. Maybe let 2i2c know?"
161154
162155 - name : Move Docker Cache
163156 run : |
Original file line number Diff line number Diff line change @@ -137,23 +137,16 @@ jobs:
137137 - name : Notify on newly built image
138138 if : ${{ inputs.push_image }}
139139 uses : slackapi/slack-github-action@v2.1.1
140- env :
141- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
142- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
143140 with :
141+ webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
142+ webhook-type : incoming-webhook
144143 payload : |
145- {
146- "text": "Built image ${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}. Maybe let 2i2c know?",
147- "blocks": [
148- {
149- "type": "section",
150- "text": {
151- "type": "mrkdwn",
152- "text": "Built image `${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}`. Maybe let 2i2c know?"
153- }
154- }
155- ]
156- }
144+ text: "Built image ${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}. Maybe let 2i2c know?"
145+ blocks:
146+ - type: "section"
147+ text:
148+ type: "mrkdwn"
149+ text: "Built image `${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}`. Maybe let 2i2c know?"
157150
158151 - name : Move Docker Cache
159152 run : |
You can’t perform that action at this time.
0 commit comments