Configure your action's identity and inputs in the action metadata file (typically action.yml). You must define the name, description, and specify that it runs using docker.
Inputs defined in the metadata are made available to workflow authors via the with: keyword. In a Docker action, these inputs are typically passed to the container via the args field in the runs section.
name: 'My Container Action'
description: 'Get started with Container actions'
author: 'GitHub'
inputs:
myInput:
description: 'Input to use'
default: 'world'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.myInput }}