Skip to content

Commit 7b1915e

Browse files
authored
chore(github): update message when contaienr is pushed (#9421)
1 parent 56d092c commit 7b1915e

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

.github/scripts/slack-messages/container-release-completed.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"channel": "${{ env.SLACK_CHANNEL_ID }}",
3+
"ts": "${{ env.MESSAGE_TS }}",
34
"attachments": [
45
{
56
"color": "${{ env.STATUS_COLOR }}",

.github/workflows/api-container-build-push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
8080

8181
- name: Notify container push started
82+
id: slack-notification-started
8283
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
8384
uses: ./.github/actions/slack-notification
8485
env:
@@ -110,6 +111,7 @@ jobs:
110111
uses: ./.github/actions/slack-notification
111112
env:
112113
SLACK_CHANNEL_ID: ${{ secrets.SLACK_PLATFORM_DEPLOYMENTS }}
114+
MESSAGE_TS: ${{ steps.slack-notification-started.outputs.ts }}
113115
COMPONENT: API
114116
RELEASE_TAG: ${{ env.RELEASE_TAG }}
115117
GITHUB_SERVER_URL: ${{ github.server_url }}
@@ -119,6 +121,7 @@ jobs:
119121
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
120122
payload-file-path: "./.github/scripts/slack-messages/container-release-completed.json"
121123
step-outcome: ${{ steps.container-push.outcome }}
124+
update-ts: ${{ steps.slack-notification-started.outputs.ts }}
122125

123126
# Create and push multi-architecture manifest
124127
create-manifest:

.github/workflows/mcp-container-build-push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
7878

7979
- name: Notify container push started
80+
id: slack-notification-started
8081
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
8182
uses: ./.github/actions/slack-notification
8283
env:
@@ -116,6 +117,7 @@ jobs:
116117
uses: ./.github/actions/slack-notification
117118
env:
118119
SLACK_CHANNEL_ID: ${{ secrets.SLACK_PLATFORM_DEPLOYMENTS }}
120+
MESSAGE_TS: ${{ steps.slack-notification-started.outputs.ts }}
119121
COMPONENT: MCP
120122
RELEASE_TAG: ${{ env.RELEASE_TAG }}
121123
GITHUB_SERVER_URL: ${{ github.server_url }}
@@ -125,6 +127,7 @@ jobs:
125127
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
126128
payload-file-path: "./.github/scripts/slack-messages/container-release-completed.json"
127129
step-outcome: ${{ steps.container-push.outcome }}
130+
update-ts: ${{ steps.slack-notification-started.outputs.ts }}
128131

129132
# Create and push multi-architecture manifest
130133
create-manifest:

.github/workflows/sdk-container-build-push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ jobs:
148148
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
149149

150150
- name: Notify container push started
151+
id: slack-notification-started
151152
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
152153
uses: ./.github/actions/slack-notification
153154
env:
@@ -180,6 +181,7 @@ jobs:
180181
uses: ./.github/actions/slack-notification
181182
env:
182183
SLACK_CHANNEL_ID: ${{ secrets.SLACK_PLATFORM_DEPLOYMENTS }}
184+
MESSAGE_TS: ${{ steps.slack-notification-started.outputs.ts }}
183185
COMPONENT: SDK
184186
RELEASE_TAG: ${{ env.PROWLER_VERSION }}
185187
GITHUB_SERVER_URL: ${{ github.server_url }}
@@ -189,6 +191,7 @@ jobs:
189191
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
190192
payload-file-path: "./.github/scripts/slack-messages/container-release-completed.json"
191193
step-outcome: ${{ steps.container-push.outcome }}
194+
update-ts: ${{ steps.slack-notification-started.outputs.ts }}
192195

193196
# Create and push multi-architecture manifest
194197
create-manifest:

.github/workflows/ui-container-build-push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
8282

8383
- name: Notify container push started
84+
id: slack-notification-started
8485
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
8586
uses: ./.github/actions/slack-notification
8687
env:
@@ -115,6 +116,7 @@ jobs:
115116
uses: ./.github/actions/slack-notification
116117
env:
117118
SLACK_CHANNEL_ID: ${{ secrets.SLACK_PLATFORM_DEPLOYMENTS }}
119+
MESSAGE_TS: ${{ steps.slack-notification-started.outputs.ts }}
118120
COMPONENT: UI
119121
RELEASE_TAG: ${{ env.RELEASE_TAG }}
120122
GITHUB_SERVER_URL: ${{ github.server_url }}
@@ -124,6 +126,7 @@ jobs:
124126
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
125127
payload-file-path: "./.github/scripts/slack-messages/container-release-completed.json"
126128
step-outcome: ${{ steps.container-push.outcome }}
129+
update-ts: ${{ steps.slack-notification-started.outputs.ts }}
127130

128131
# Create and push multi-architecture manifest
129132
create-manifest:

0 commit comments

Comments
 (0)