Skip to content

Workflow docker.yml

Trigger Events

If any of the below events occur, the docker.yml workflow will be triggered.

  • workflow_call

Since there is a workflow_call trigger_event, this workflow can be triggered (called) by another (caller) workflow.

Thus, it is a Reusable Workflow.

Reusable Workflow

Event Trigger: workflow_call

Inputs

Required Inputs

  • DOCKER_USER
    • type: string
    • Description:
  • image_slug
    • type: string
    • Description:

Optional Inputs

  • acceptance_policy
    • type: string
    • Description:
  • image_tag
    • type: string
    • Description:
  • target_stage
    • type: string
    • Description:
  • tests_pass
    • type: boolean
    • Description:
  • tests_run
    • type: boolean
    • Description:

Secrets

  • DOCKER_PASSWORD
    • type: string
    • Required: True
    • Description:

Outputs

  • IMAGE_REF
    • type: string
    • Value: {{ "{{" }} jobs.docker_build.outputs.IMAGE_REF {{ "}}" }}
    • Description: Docker Image reference