Post a message to a Slack incoming webhook. Useful for a CI system, maybe
1.3K
Post a message to a Slack incoming webhook. Useful for a CI system, maybe.
Clone the Github repo, build and run.
make
bin/slackp -help
bin/slackp -url https://hooks.slack.com/services/blah/blah/blah \
-channel #slack-tests \
-user SlackP \
-icon ":golang:"
"hello from slackp!"
Pull the Docker image and run.
docker pull dylanmei/slackp
docker run --rm dylanmei/slackp -help
docker run --rm \
-e "SLACKP_URL=https://hooks.slack.com/services/blah/blah/blah" \
-e "SLACKP_CHANNEL=#slack-tests" \
-e "SLACKP_USER=SlackP" \
-e "SLACKP_ICON=:golang:" \
dylanmei/slackp "hello from slackp!"
Content type
Image
Digest
Size
5.5 MB
Last updated
over 8 years ago
docker pull dylanmei/slackp