Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
cbea5d17
Unverified
Commit
cbea5d17
authored
May 14, 2024
by
Sayak Paul
Committed by
GitHub
May 14, 2024
Browse files
update to use hf-workflows for reporting the Docker build statuses (#7938)
update to use hf-workflows for reporting
parent
a1245c2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
18 deletions
+5
-18
.github/workflows/build_docker_images.yml
.github/workflows/build_docker_images.yml
+5
-18
No files found.
.github/workflows/build_docker_images.yml
View file @
cbea5d17
...
...
@@ -90,24 +90,11 @@ jobs:
-
name
:
Post to a Slack channel
id
:
slack
uses
:
slackapi/slack-
github
-
action
@6c661ce58804a1a20f6dc5fbee7f0381b469e001
uses
:
huggingface/hf-workflows/.
github
/
action
s/post-slack@main
with
:
# Slack channel id, channel name, or user id to post message.
# See also: https://api.slack.com/methods/chat.postMessage#channels
channel-id
:
${{ env.CI_SLACK_CHANNEL }}
# For posting a rich message using Block Kit
payload
:
|
{
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{ github.event.head_commit.url }}",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{ github.event.head_commit.url }}"
}
}
]
}
env
:
SLACK_BOT_TOKEN
:
${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
slack_channel
:
${{ env.CI_SLACK_CHANNEL }}
title
:
"
🤗
Results
of
the
${{
matrix.image-name
}}
Docker
Image
build"
status
:
${{ job.status }}
slack_token
:
${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment