Help Wanted: Simple Rabbit MQ Example

I am putting together simple samples for various database tools and software (only official docker images at this time). Does anyone have enough experience with RabbitMQ to provide a simple pipeline that is able to start and push a message to a RabbitMQ server, using the official RabbitMQ images? Ideally something similar to this Nats example:

kind: pipeline
name: default

- name: test
  image: ruby:2
  - gem install nats
  - nats-pub -s tcp://nats:4222 greeting 'hello'
  - nats-pub -s tcp://nats:4222 greeting 'world'

- name: nats
  image: nats:1.3.0
  - 4222
  - 8222