frozen-tapestry/Build and Push with Podman
Build and push container images using Podman and docker-run-action. Also supports Podman login.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| login_registry | Container registry to push to (e.g. quay.io). If not set, image is only built locally. | no | — |
| login_username | Registry username. | no | — |
| login_password | Registry password (GitHub secret recommended). | no | — |
| tags | Tags for the image. Space-separated. e.g. quay.io/podman/stable:latest quay.io/podman/stable:nightly | no | — |
| labels | List of image labels (key=value) stored in the image config. Space-separated. | no | — |
| annotations | List of OCI annotations (key=value) stored in the image manifest. Space-separated. | no | — |
| build_args | Optional build arguments. Space-separated, escape space if used within single arg. e.g. MY_ENV_VAR=Test MY_ENV_VAR2=Test2 | no | — |
| extra_args | Extra args to be passed to podman. Space-separated, escape space if used within single arg. e.g. -e=MY_ENV=Test -e=MY_ENV=Test2 -e MY_ENV=Var\ with\ spaces | no | — |
| dockerfile | Path to the Dockerfile. If set, build step is performed. | no | — |
| push | Whether to push the image after building. | no | false |
| security | Security flags that are used for an intermediate container. New line separated. | no | --network=host |
| mount_ws | Mount workspace. Can be true/false or path to directory. If true, mounts workspace as a working directory. | no | true |
| socket | Docker socket path | no | /var/run/docker.sock |
Outputs
no outputs