Skip to content

Container action hello workflow #2

Container action hello workflow

Container action hello workflow #2

name: Container action hello workflow
run-name: Container action hello workflow
on:
workflow_dispatch:
inputs:
runs-on:
type: choice
description: Choose a runner set on which to run this workflow.
options:
- runner-set
- runner-set-k8s
- runner-set-dind-rootful
- runner-set-dind-rootless
who-to-greet:
description: Who to greet in the log
required: true
default: 'World'
type: string
jobs:
container-action-hello-job:
runs-on: ${{ github.event.inputs.runs-on }}
container:
image: registry.access.redhat.com/ubi10/ubi:latest
env:
MY_VAR: foo
steps:
- name: Print to Log
id: print-to-log
uses: actions/hello-world-docker-action@0b406c0e14ed4b1853113f84b89aa6cdf762e340 # v2
with:
who-to-greet: ${{ inputs.who-to-greet }}