version: 2.1

description: Sample orb description

display:
  home_url: "https://www.website.com/docs"
  source_url: "https://www.github.com/EXAMPLE_ORG/EXAMPLE_PROJECT"

jobs:
  job0:
    description: >
      # What will this job do?
      # Descriptions should be short, simple, and clear.

    docker:
      - image: cimg/base:current
        auth:
          username: mydockerhub-user
          password: $DOCKERHUB_PASSWORD  # context / project UI env-var reference
    parameters:
      greeting:
        type: string
        default: "Hello"
        description: "Select a proper greeting"
    steps:
      - greet:
          greeting: "<< parameters.greeting >>"

  job1:
    description: >
      # What will this job do?
      # Descriptions should be short, simple, and clear.

    docker:
      - image: cimg/base:current
        auth:
          username: mydockerhub-user
          password: $DOCKERHUB_PASSWORD  # context / project UI env-var reference
    parameters:
      greeting:
        type: string
        default: "Salutations"
        description: "Select a proper greeting"
    steps:
      - greet:
          greeting: "<< parameters.greeting >>"
