Sign inSign up

dylanmei/slackp

By dylanmei

Updated over 8 years ago

Post a message to a Slack incoming webhook. Useful for a CI system, maybe

Image
0

1.3K

dylanmei/slackp repository overview

slackp

Post a message to a Slack incoming webhook. Useful for a CI system, maybe.

examples

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!"

Tag summary

Content type

Image

Digest

Size

5.5 MB

Last updated

over 8 years ago

docker pull dylanmei/slackp