| image_name | Name of the Docker image to be built and pushed. | yes | — |
| registry_address | URL of the container registry where the image will be pushed. | yes | — |
| registry_username | Username for authentication with the container registry. | yes | — |
| registry_password | Password for authentication with the container registry. | yes | — |
| context | The directory path used as the build context. Default is the current directory (`.`). | no | ./ |
| dockerfile_path | Location of the Dockerfile. Defaults to `./Dockerfile`. | no | Dockerfile |
| flavor | Specifies the tagging strategy. For options, see Docker Metadata Action documentation at https://github.com/docker/metadata-action?tab=readme#flavor-input.
| no | — |
| tags | Defines how the image is tagged. For detailed configuration, refer to Docker Metadata Action documentation at https://github.com/docker/metadata-action?tab=readme#tags-input.
| no | type=sha
type=ref,event=branch
type=ref,event=pr
type=schedule,pattern={{date 'YYYYMMDD-hhmmss'}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
|
| labels | Custom labels to apply to the built image, separated by newlines. | no | — |
| annotations | Additional annotations for the image, separated by newlines. | no | — |
| archs | CPU architectures to target during the build, separated by commas. | no | — |
| platforms | Target platforms for the image build, separated by commas. | no | — |
| build_args | Build-time variables in the form arg_name=arg_value. Separate multiple arguments with newlines. These are passed to Docker build with --build-arg.
| no | — |
| buildah_extra_args | Additional arguments for the `buildah bud` command, separated by newlines. | no | — |
| oci | Sets the image format. true for OCI format, false for Docker format. Default is false.
| no | false |
| push_extra_args | Extra arguments for the `podman push` command, separated by newlines. | no | — |