Skip to content

Commit c059f29

Browse files
author
Leonid Podolinskiy
authored
Add slack notify init container build action (#9)
1 parent 05ae0de commit c059f29

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/init_container.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,13 @@ jobs:
6262
tags: "lightruncom/k8s-operator-init-java-agent-${{ matrix.agents.platform }}:${{steps.set_tag.outputs.TAG_NAME}}"
6363
build-args: |
6464
FILE=${{ matrix.agents.file }}
65+
66+
67+
- name: Slack Notification
68+
uses: rtCamp/[email protected]
69+
env:
70+
SLACK_CHANNEL: devops-alerts
71+
SLACK_COLOR: ${{ job.status }} # or a specific color like 'good' or '#ff00ff'
72+
SLACK_MESSAGE: 'Tag ${{ inputs.release_tag }} | Platform ${{ matrix.agents.platform }}'
73+
SLACK_TITLE: Init contianer build status - ${{ job.status }}
74+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)